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

7
run.py Executable file → Normal file
View File

@ -127,8 +127,11 @@ def save_file():
def status(string): def status(string):
status_label["text"] = "Status: " + string if args['source_img']:
window.update() print("Status: " + string)
else:
status_label["text"] = "Status: " + string
window.update()
def start(): def start():