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

3
run.py Executable file → Normal file
View File

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