From 09a2c4556dc5032a6b693f54eac59ed32c98e227 Mon Sep 17 00:00:00 2001 From: Abdo Date: Mon, 18 Jul 2022 21:07:16 +0300 Subject: [PATCH] Fix missing argument of os._exit() --- components/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ui.py b/components/ui.py index 22f4fb0..c6bc5c9 100644 --- a/components/ui.py +++ b/components/ui.py @@ -40,7 +40,7 @@ def Safty_Key(): print('Pressed Ctrl+x') _thread.interrupt_main() auto.WindowControl(Name="JianyingPro", searchDepth=1).SetTopmost(False) - os._exit() + os._exit(0) t = _thread.start_new_thread(Safty_Key,())