From 8d18b542df775218e3dd9dc9060a858e664813ef Mon Sep 17 00:00:00 2001 From: DevilXD Date: Fri, 14 Jan 2022 16:49:28 +0100 Subject: [PATCH] Fix quit -> sys.exit --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 9accc57f..a94de2a2 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,6 @@ from __future__ import annotations +import sys import ctypes import logging import argparse @@ -57,7 +58,7 @@ def debug_gql(self) -> int: exists = False if exists: # already running - exit - quit() + sys.exit() # handle input parameters parser = argparse.ArgumentParser( "Twitch Drops Miner (by DevilXD).exe",