misc/add radio endpoint to repo, prev gitignore'd, WIP
This commit is contained in:
7
util.py
7
util.py
@ -37,10 +37,9 @@ class Utilities:
|
||||
return False
|
||||
|
||||
if req_type == 2:
|
||||
if not key.startswith("PRV-"):
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
return key.startswith("PRV-")
|
||||
elif req_type == 4:
|
||||
return key.startswith("RAD-")
|
||||
|
||||
if path.lower().startswith("/xc/") and not key.startswith("XC-"):
|
||||
return False
|
||||
|
Reference in New Issue
Block a user