Add requirements.txt
This commit is contained in:
parent
947adbe3a5
commit
4ce40ebd29
2 changed files with 2 additions and 1 deletions
|
|
@ -89,6 +89,7 @@ def headless() -> None:
|
|||
output_dir = arg.split("=")[1]
|
||||
except:
|
||||
__help()
|
||||
|
||||
if not base_dir or not overlay_dir or not output_dir:
|
||||
__help()
|
||||
|
||||
|
|
@ -142,7 +143,7 @@ def gui() -> None:
|
|||
event, values = window.read()
|
||||
can_start = base_dir and overlay_dir and output_dir
|
||||
|
||||
if event == "Exit" or event == sg.WIN_CLOSED:
|
||||
if event in ["Exit", sg.WIN_CLOSED]:
|
||||
break
|
||||
if event == "-BASE LAYERS-":
|
||||
base_dir = values["-BASE LAYERS-"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue