Compare commits
No commits in common. "main" and "v1.0" have entirely different histories.
4
puffb.py
4
puffb.py
|
@ -73,7 +73,7 @@ class Panel:
|
|||
#
|
||||
# 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 = []
|
||||
for i in range(200, 300):
|
||||
validCodes.append(i)
|
||||
|
@ -398,8 +398,6 @@ class Panel:
|
|||
f"'{key}' does not match any in the options list:\n{options}"
|
||||
)
|
||||
|
||||
reply[key]["value"] = value
|
||||
|
||||
response = requests.post(
|
||||
fullURL, data=json.dumps({"data": reply}), headers=data[1]
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue