mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
chore: code cleanup, remove redundant if statement
This commit is contained in:
@@ -112,10 +112,7 @@ parser.add_argument("--is-windows-embedded-python", action="store_true")
|
|||||||
|
|
||||||
parser.add_argument("--disable-server-info", action="store_true")
|
parser.add_argument("--disable-server-info", action="store_true")
|
||||||
|
|
||||||
if ldm_patched.modules.options.args_parsing:
|
args = parser.parse_args([])
|
||||||
args = parser.parse_args([])
|
|
||||||
else:
|
|
||||||
args = parser.parse_args([])
|
|
||||||
|
|
||||||
if args.is_windows_embedded_python:
|
if args.is_windows_embedded_python:
|
||||||
args.in_browser = True
|
args.in_browser = True
|
||||||
|
|||||||
Reference in New Issue
Block a user