From 83fac825964dd5eb742f7f3cf63492c3f8704271 Mon Sep 17 00:00:00 2001 From: Guy Alexis Date: Mon, 20 Nov 2023 11:58:10 +0000 Subject: [PATCH] fix bug : Calculating stats for this user. Check back later #482 --- sources/manager_download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/manager_download.py b/sources/manager_download.py index a90bf39..e2160f7 100644 --- a/sources/manager_download.py +++ b/sources/manager_download.py @@ -184,7 +184,7 @@ class DownloadManager: else: res = DownloadManager._REMOTE_RESOURCES_CACHE[resource] DBM.g(f"\tQuery '{resource}' loaded from cache!") - if res.status_code == 200: + if res.status_code in [200, 202]: if convertor is None: return res.json() else: