From 9943f0f2d94e7e99a516e6434f63bab1eb8831d5 Mon Sep 17 00:00:00 2001 From: nithinrvs Date: Thu, 31 Oct 2024 15:19:48 +0530 Subject: [PATCH] fix: #291 path of 'pollmovies.csv' changed --- Web_app/pages/MoviePol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web_app/pages/MoviePol.py b/Web_app/pages/MoviePol.py index 447226a1..b46ec8c2 100644 --- a/Web_app/pages/MoviePol.py +++ b/Web_app/pages/MoviePol.py @@ -3,7 +3,7 @@ import os # Path to the poll movies file -movies_file = "pollmovies.csv" +movies_file = os.path.join(os.path.dirname(__file__), "..", "pollmovies.csv") # Load movies from pollmovies.csv if it exists if os.path.exists(movies_file):