From 33eceef4671dadca6d51855be17f3966ed9a0c82 Mon Sep 17 00:00:00 2001 From: xavi Date: Tue, 30 May 2023 05:26:50 +0200 Subject: [PATCH] print in CLI mode --- run.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) mode change 100755 => 100644 run.py diff --git a/run.py b/run.py old mode 100755 new mode 100644 index 9ad2a13..98225f7 --- a/run.py +++ b/run.py @@ -128,9 +128,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)