aboutsummaryrefslogtreecommitdiff
path: root/watch/utils.py
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-01-19 17:59:27 -0500
committerGitHub <[email protected]>2025-01-19 17:59:27 -0500
commit283654eaed68de9225521185e79e29ebc1d79cca (patch)
tree120e54530da58f552a00cd4d2ee00d6b14de386f /watch/utils.py
parent3e1eef5fe238ab8cfca4e65167ae8542b0322c73 (diff)
downloadyugen-283654eaed68de9225521185e79e29ebc1d79cca.tar.xz
yugen-283654eaed68de9225521185e79e29ebc1d79cca.zip
Update utils.py
Diffstat (limited to 'watch/utils.py')
-rw-r--r--watch/utils.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/watch/utils.py b/watch/utils.py
index f704c9a..fbaa02c 100644
--- a/watch/utils.py
+++ b/watch/utils.py
@@ -18,11 +18,11 @@ from watch.tmdbmapper import get_anime_episodes as gae, get_tv_episode_group_det
dotenv.load_dotenv()
-r = redis.Redis(
- host=os.getenv("REDIS_HOST"),
- port=os.getenv("REDIS_PORT"),
- password=os.getenv("REDIS_PASSWORD"),
-)
+# r = redis.Redis(
+# host=os.getenv("REDIS_HOST"),
+# port=os.getenv("REDIS_PORT"),
+# password=os.getenv("REDIS_PASSWORD"),
+# )
r.flushall()
print("Redis cache flushed")