aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2024-10-06 08:03:18 -0400
committerBobby <[email protected]>2024-10-06 08:03:18 -0400
commit256b91d90c90aa0b84cd8084b56a4d45decf156a (patch)
tree03b8b671a9a3506ceca19e48c341e41c1057226c
parentfa81e218bde7c8bd898b7ffb50f2a4505ec95f58 (diff)
downloadyugen-256b91d90c90aa0b84cd8084b56a4d45decf156a.tar.xz
yugen-256b91d90c90aa0b84cd8084b56a4d45decf156a.zip
ids fix
-rw-r--r--read/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/read/utils.py b/read/utils.py
index ce6fa7e..3789faa 100644
--- a/read/utils.py
+++ b/read/utils.py
@@ -84,5 +84,5 @@ def get_chapter_pages(provider, chapter_id):
print(f"Trying URL: {base_url}")
response = requests.get(base_url, timeout=10)
- return response.json() if response.status_code == 200 else None
+ return response.json()