From 389a126f289452587ef0d5f3e2fce6efc8b24627 Mon Sep 17 00:00:00 2001 From: chrin Date: Mon, 24 Jul 2023 11:55:17 +0200 Subject: [PATCH] SaveFigureThread update --- base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/base.py b/base.py index 0981a74..8cc3d28 100644 --- a/base.py +++ b/base.py @@ -127,7 +127,8 @@ class BaseWindow(QMainWindow): idx) if idx > 0 else name_base save_dest = (folder_name + date_str + '_' + name + '.png') - + print("name", name) + print("save destination", save_dest, flush=True) if not os.path.exists(save_dest): if self.all_data['Figure data'][canvas][ idx] is not None: @@ -170,6 +171,7 @@ class BaseWindow(QMainWindow): #Not so nice.. send a signal instead? if attach_files: self.parent.attach_files = attach_files + print(attach_files, flush=True) print("All files attached", flush=True) else: print("No files to attach", flush=True)