[36] Patch for MDBList docker image issue (#2396)

pull/2399/head
Chaz Larson 2 weeks ago committed by GitHub Action
parent 16359e3625
commit 7559d63580

@ -1 +1 @@
2.1.0-build35
2.1.0-build36

@ -88,12 +88,16 @@ class MDBList:
try:
response = self._request(f"{api_url}user")
logger.trace(f"MDB response: {response}")
self.supporter = response["limits"]["supporter"]
logger.info(f"Supporter Key: {self.supporter}")
self.rating_id_limit = response["limits"]["rating_ids"]
# logger.info(f"Rating ID limit: {self.rating_id_limit}")
self.api_limit = response["limits"]["api_requests"]
logger.info(f"Daily API requests: {self.api_limit}")
self.get_item(imdb_id="tt0080684", ignore_cache=True)
except LimitReached:
logger.info(f"MDBList API limit exhausted")

Loading…
Cancel
Save