Merge pull request #75 from xaviviro/cli-mode
Fix: Resolved 'NameError: name 'status_label' is not defined' in status function for Client Mode
This commit is contained in:
commit
ff084b216a
9
run.py
Executable file → Normal file
9
run.py
Executable file → Normal file
@ -127,9 +127,12 @@ def save_file():
|
||||
|
||||
|
||||
def status(string):
|
||||
status_label["text"] = "Status: " + string
|
||||
window.update()
|
||||
|
||||
if args['source_img']:
|
||||
print("Status: " + string)
|
||||
else:
|
||||
status_label["text"] = "Status: " + string
|
||||
window.update()
|
||||
|
||||
|
||||
def start():
|
||||
print("DON'T WORRY. IT'S NOT STUCK/CRASHED.\n" * 5)
|
||||
|
Loading…
Reference in New Issue
Block a user