Fix quit -> sys.exit
This commit is contained in:
1 parent
1cdb39768c
commit
8d18b542df
1 file changed
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
import sys
|
||||||
import ctypes
|
import ctypes
|
||||||
import logging
|
import logging
|
||||||
import argparse
|
import argparse
|
||||||
@@ -57,7 +58,7 @@ except AttributeError:
|
|||||||
exists = False
|
exists = False
|
||||||
if exists:
|
if exists:
|
||||||
# already running - exit
|
# already running - exit
|
||||||
quit()
|
sys.exit()
|
||||||
# handle input parameters
|
# handle input parameters
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
"Twitch Drops Miner (by DevilXD).exe",
|
"Twitch Drops Miner (by DevilXD).exe",
|
||||||
|
|||||||
Reference in new issue
Block a user