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