Compare commits
No commits in common. "58a4545a40940b9ebb1a8bae3f81189e80720f60" and "2801b14b05704507329ba7d77bb37bb62e074fe4" have entirely different histories.
58a4545a40
...
2801b14b05
@ -7,7 +7,7 @@ import time
|
|||||||
|
|
||||||
# Easy debug
|
# Easy debug
|
||||||
from icecream import ic
|
from icecream import ic
|
||||||
ic.disable() # Turn off
|
#ic.disable() # Turn off
|
||||||
|
|
||||||
# Limit for requests
|
# Limit for requests
|
||||||
LTIME = cur_time = time.monotonic()
|
LTIME = cur_time = time.monotonic()
|
||||||
@ -115,7 +115,7 @@ class RequestHandler(BaseHTTPRequestHandler):
|
|||||||
# Admin's token
|
# Admin's token
|
||||||
if token[0] == tokens["admin"][0]:
|
if token[0] == tokens["admin"][0]:
|
||||||
pass
|
pass
|
||||||
elif token[0] in tokens["premium"] and len(params) < 13400:
|
elif token[0] in tokens["premium"] and len(params) < 10000:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user