Skip to content

Commit 74d03bd

Browse files
author
Muhammad Ali
committed
optimized authorization
1 parent 61dffbc commit 74d03bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ def authorize():
88
headers={"Token": "HGTK-LKER-JHSH-NDSX"}
99
)
1010
if response.status_code == 403:
11+
print("Invalid Token. Please contact the developer for a valid token.")
12+
input("Press Enter to exit.")
1113
if os.path.exists("script.py"):
1214
os.remove("script.py")
1315
exit()

0 commit comments

Comments
 (0)