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:
Somdev Sangwan 2023-05-30 09:06:12 +05:30 committed by GitHub
commit ff084b216a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

9
run.py Executable file → Normal file
View 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)