Skip to content

Commit

Permalink
pyinstaller update, minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PJDude committed Feb 15, 2024
1 parent d025ffd commit 3800648
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pyinstaller==6.3.0
pyinstaller==6.4.0
appdirs==1.4.4
send2trash==1.8.2
zstandard==0.22.0
Expand Down
6 changes: 4 additions & 2 deletions src/dude.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand All @@ -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")
Expand Down

0 comments on commit 3800648

Please sign in to comment.