mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-11 06:32:15 +08:00
GUI: Update PySimpleGUI, see #62
This commit is contained in:
parent
57ec05d92f
commit
e1f11ec821
1 changed files with 19 additions and 13 deletions
|
|
@ -484,9 +484,11 @@ _change_log = """
|
||||||
Fixed docstring for execute_command_subprocess. The command description was incorrect
|
Fixed docstring for execute_command_subprocess. The command description was incorrect
|
||||||
4.61.0.206
|
4.61.0.206
|
||||||
New Udemy Coupon code
|
New Udemy Coupon code
|
||||||
|
|
||||||
NPF 2024-04-25
|
NPF 2024-04-25
|
||||||
Disable upgrade api call
|
Disable upgrade api call
|
||||||
|
NPF 2024-07-23
|
||||||
|
Add a try except block around refresh_debugger() for Nuitka compilation
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = version.split()[0] # For PEP 396 and PEP 345
|
__version__ = version.split()[0] # For PEP 396 and PEP 345
|
||||||
|
|
@ -24727,18 +24729,21 @@ def _refresh_debugger():
|
||||||
# frame = inspect.currentframe()
|
# frame = inspect.currentframe()
|
||||||
# frame = inspect.currentframe().f_back
|
# frame = inspect.currentframe().f_back
|
||||||
|
|
||||||
frame, *others = inspect.stack()[1]
|
|
||||||
try:
|
try:
|
||||||
debugger.locals = frame.f_back.f_locals
|
frame, *others = inspect.stack()[1]
|
||||||
debugger.globals = frame.f_back.f_globals
|
try:
|
||||||
finally:
|
debugger.locals = frame.f_back.f_locals
|
||||||
del frame
|
debugger.globals = frame.f_back.f_globals
|
||||||
if debugger.popout_window:
|
finally:
|
||||||
rc = debugger._refresh_floating_window()
|
del frame
|
||||||
if debugger.watcher_window:
|
if debugger.popout_window:
|
||||||
rc = debugger._refresh_main_debugger_window(debugger.locals, debugger.globals)
|
rc = debugger._refresh_floating_window()
|
||||||
Window._read_call_from_debugger = False
|
if debugger.watcher_window:
|
||||||
return rc
|
rc = debugger._refresh_main_debugger_window(debugger.locals, debugger.globals)
|
||||||
|
Window._read_call_from_debugger = False
|
||||||
|
return rc
|
||||||
|
except:
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
def _debugger_window_is_open():
|
def _debugger_window_is_open():
|
||||||
|
|
@ -27001,6 +27006,7 @@ if _mac_should_set_alpha_to_99():
|
||||||
#__perform_upgrade_check()
|
#__perform_upgrade_check()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# -------------------------------- ENTRY POINT IF RUN STANDALONE -------------------------------- #
|
# -------------------------------- ENTRY POINT IF RUN STANDALONE -------------------------------- #
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# To execute the upgrade from command line, type:
|
# To execute the upgrade from command line, type:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue