尝试解决窗口自动关闭但失败
This commit is contained in:
parent
efbd54b52b
commit
6e9ebb328d
|
@ -86,5 +86,5 @@ try:
|
|||
except Exception as exp: # 未知错误
|
||||
log.break_err("Exception \n"+str(traceback.format_exc(exp)))
|
||||
raise exp
|
||||
print("This window will close after 3 seconds.")
|
||||
time.sleep(3)
|
||||
print("This window will close.")
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Reference in New Issue