From 38006481eef8581bbb3e01620b8d6d53794e7020 Mon Sep 17 00:00:00 2001 From: piotrj Date: Thu, 15 Feb 2024 19:30:29 +0100 Subject: [PATCH] pyinstaller update, minor fix --- requirements.txt | 2 +- src/dude.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index f6ec147..d7c5193 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -pyinstaller==6.3.0 +pyinstaller==6.4.0 appdirs==1.4.4 send2trash==1.8.2 zstandard==0.22.0 diff --git a/src/dude.py b/src/dude.py index 07cef21..3ba95e3 100755 --- a/src/dude.py +++ b/src/dude.py @@ -202,9 +202,11 @@ class Gui: sel_path_full='' block_processing_stack=['init'] + block_processing_stack_append = block_processing_stack.append + block_processing_stack_pop = block_processing_stack.pop def processing_off(self,caller_id=None): - self.block_processing_stack.append(caller_id) + self.block_processing_stack_append(caller_id) disable = lambda menu : self.menubar_entryconfig(menu, state="disabled") @@ -214,7 +216,7 @@ def processing_off(self,caller_id=None): self.main_config(cursor='watch') def processing_on(self,caller_id=None): - self.block_processing_stack.pop() + self.block_processing_stack_pop() if not self.block_processing_stack: norm = lambda menu : self.menubar_entryconfig(menu, state="normal")