Compare commits

..

No commits in common. "main" and "v1.0" have entirely different histories.
main ... v1.0

View file

@ -73,7 +73,7 @@ class Panel:
# #
# Panel('https://panel.domain.com', 'randomClientId', 'randomSecretKey') # Panel('https://panel.domain.com', 'randomClientId', 'randomSecretKey')
def invalidCode(self, given: requests.Response, override=False) -> bool: def invalidCode(self, given: object, override=False) -> bool:
validCodes = [] validCodes = []
for i in range(200, 300): for i in range(200, 300):
validCodes.append(i) validCodes.append(i)
@ -398,8 +398,6 @@ class Panel:
f"'{key}' does not match any in the options list:\n{options}" f"'{key}' does not match any in the options list:\n{options}"
) )
reply[key]["value"] = value
response = requests.post( response = requests.post(
fullURL, data=json.dumps({"data": reply}), headers=data[1] fullURL, data=json.dumps({"data": reply}), headers=data[1]
) )