[inkbunny] fix re-login loop (#6618)
This commit is contained in:
@@ -338,9 +338,9 @@ class InkbunnyAPI():
|
||||
|
||||
def _call(self, endpoint, params):
|
||||
url = "https://inkbunny.net/api_" + endpoint + ".php"
|
||||
params["sid"] = self.session_id
|
||||
|
||||
while True:
|
||||
params["sid"] = self.session_id
|
||||
data = self.extractor.request(url, params=params).json()
|
||||
|
||||
if "error_code" not in data:
|
||||
|
||||
Reference in New Issue
Block a user