Skip to content

Commit 8a1b838

Browse files
author
mak6969
authored
Update keyauth.py
1 parent c2c1f02 commit 8a1b838

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

keyauth.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,22 +79,22 @@ def login(self, key, hwid=None):
7979
print("Logged in")
8080
if response == "KeyAuth_Invalid":
8181
print("Key not found")
82-
if os.path.exists("C:\\ProgramData\\keysave.txt"):
82+
if os.path.exists('C:\\ProgramData\\keysave.txt'):
8383
os.remove("C:\\ProgramData\\keysave.txt")
8484
sys.exit()
8585
if response == "KeyAuth_InvalidHWID":
8686
print("This computer doesn't match the computer the key is locked to. If you reset your computer, contact the application owner")
87-
if os.path.exists("C:\\ProgramData\\keysave.txt"):
87+
if os.path.exists('C:\\ProgramData\\keysave.txt'):
8888
os.remove("C:\\ProgramData\\keysave.txt")
8989
sys.exit()
9090
if response == "KeyAuth_Expired":
9191
print("This key is expired")
92-
if os.path.exists("C:\\ProgramData\\keysave.txt"):
92+
if os.path.exists('C:\\ProgramData\\keysave.txt'):
9393
os.remove("C:\\ProgramData\\keysave.txt")
9494
sys.exit()
9595
else:
9696
print("Application Failed To Connect. Try again or contact application owner")
97-
if os.path.exists("C:\\ProgramData\\keysave.txt"):
97+
if os.path.exists('C:\\ProgramData\\keysave.txt'):
9898
os.remove("C:\\ProgramData\\keysave.txt")
9999
sys.exit()
100100

0 commit comments

Comments
 (0)