Skip to content

Commit

Permalink
Merge pull request #483 from tg-alexis/dev/alexis
Browse files Browse the repository at this point in the history
fix bug : Calculating stats for this user. Check back later #482
  • Loading branch information
anmol098 authored Nov 21, 2023
2 parents 159fa91 + 5a7eda6 commit 7fbe9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/manager_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ async def _get_remote_resource(resource: str, convertor: Optional[Callable[[byte
else:
res = DownloadManager._REMOTE_RESOURCES_CACHE[resource]
DBM.g(f"\tQuery '{resource}' loaded from cache!")
if res.status_code == 200:
if res.status_code == 200 or res.status_code == 202:
if convertor is None:
return res.json()
else:
Expand Down

0 comments on commit 7fbe9b7

Please sign in to comment.