From 8c5e090ec0c07e7f52ad23b44efe4fd53f0a3354 Mon Sep 17 00:00:00 2001 From: Bartol Deak Date: Thu, 16 Nov 2023 00:10:14 +0100 Subject: [PATCH] comment out total market cap data --- .env.example | 1 - src/stats.py | 13 +++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.env.example b/.env.example index 52b96ca..9fee421 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,3 @@ -FLASK_ENV=development POSTGRES_URL= REDIS_URL=redis://cache:6379 REDDIT_CLIENT_ID= diff --git a/src/stats.py b/src/stats.py index e5121a5..19cd4a6 100644 --- a/src/stats.py +++ b/src/stats.py @@ -122,12 +122,13 @@ def total_mentions(conn, time_period): def total_market_cap_by_time_period(): - return { - "week": list(map(str, total_market_cap("week"))), - "month": list(map(str, total_market_cap("month"))), - "quarter": list(map(str, total_market_cap("quarter"))), - "year": list(map(str, total_market_cap("year"))), - } + # return { + # "week": list(map(str, total_market_cap("week"))), + # "month": list(map(str, total_market_cap("month"))), + # "quarter": list(map(str, total_market_cap("quarter"))), + # "year": list(map(str, total_market_cap("year"))), + # } + return {"week": 0, "month": 0, "quarter": 0, "year": 0} # TODO: fix total market cap def total_market_cap(time_period):