fix status bar
This commit is contained in:
parent
d1030654ce
commit
03ac74edac
3
run.py
3
run.py
@ -127,7 +127,7 @@ def save_file():
|
||||
|
||||
|
||||
def status(string):
|
||||
if args['source_img']:
|
||||
if 'cli_mode' in args:
|
||||
print("Status: " + string)
|
||||
else:
|
||||
status_label["text"] = "Status: " + string
|
||||
@ -184,6 +184,7 @@ def start():
|
||||
if __name__ == "__main__":
|
||||
global status_label, window
|
||||
if args['source_img']:
|
||||
args['cli_mode'] = True
|
||||
start()
|
||||
quit()
|
||||
window = tk.Tk()
|
||||
|
Loading…
Reference in New Issue
Block a user