raghavNCI
commited on
Commit
·
83a5004
1
Parent(s):
bd81898
cache fix v1
Browse files- cache_init.py +0 -2
cache_init.py
CHANGED
@@ -35,8 +35,6 @@ def fetch_and_cache_articles():
|
|
35 |
response.raise_for_status()
|
36 |
articles = response.json().get("articles", [])
|
37 |
|
38 |
-
print("Articles fetched", articles)
|
39 |
-
|
40 |
for article in articles:
|
41 |
article_id = generate_id(article["url"])
|
42 |
if not r.exists(f"article:{article_id}"):
|
|
|
35 |
response.raise_for_status()
|
36 |
articles = response.json().get("articles", [])
|
37 |
|
|
|
|
|
38 |
for article in articles:
|
39 |
article_id = generate_id(article["url"])
|
40 |
if not r.exists(f"article:{article_id}"):
|