mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-10 06:01:39 +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
|
||||
4.61.0.206
|
||||
New Udemy Coupon code
|
||||
|
||||
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
|
||||
|
|
@ -24727,18 +24729,21 @@ def _refresh_debugger():
|
|||
# frame = inspect.currentframe()
|
||||
# frame = inspect.currentframe().f_back
|
||||
|
||||
frame, *others = inspect.stack()[1]
|
||||
try:
|
||||
debugger.locals = frame.f_back.f_locals
|
||||
debugger.globals = frame.f_back.f_globals
|
||||
finally:
|
||||
del frame
|
||||
if debugger.popout_window:
|
||||
rc = debugger._refresh_floating_window()
|
||||
if debugger.watcher_window:
|
||||
rc = debugger._refresh_main_debugger_window(debugger.locals, debugger.globals)
|
||||
Window._read_call_from_debugger = False
|
||||
return rc
|
||||
frame, *others = inspect.stack()[1]
|
||||
try:
|
||||
debugger.locals = frame.f_back.f_locals
|
||||
debugger.globals = frame.f_back.f_globals
|
||||
finally:
|
||||
del frame
|
||||
if debugger.popout_window:
|
||||
rc = debugger._refresh_floating_window()
|
||||
if debugger.watcher_window:
|
||||
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():
|
||||
|
|
@ -27001,6 +27006,7 @@ if _mac_should_set_alpha_to_99():
|
|||
#__perform_upgrade_check()
|
||||
|
||||
|
||||
|
||||
# -------------------------------- ENTRY POINT IF RUN STANDALONE -------------------------------- #
|
||||
if __name__ == '__main__':
|
||||
# To execute the upgrade from command line, type:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue