Skip to content

Commit

Permalink
Merge pull request #11 from abdnh/exit-status
Browse files Browse the repository at this point in the history
Fix missing argument of os._exit()
  • Loading branch information
P-PPPP authored Aug 7, 2022
2 parents 94edfd5 + 09a2c45 commit 8743bf9
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 8743bf9

Please sign in to comment.