Skip to content

Commit

Permalink
Fix missing argument of os._exit()
Browse files Browse the repository at this point in the history
  • Loading branch information
abdnh committed Jul 18, 2022
1 parent 1442533 commit 09a2c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,())


Expand Down

0 comments on commit 09a2c45

Please sign in to comment.