Skip to content

Commit 1ba108d

Browse files
authored
Merge pull request #299 from nithinrvs/main
fix: #291 path of 'pollmovies.csv' changed
2 parents fde1cd9 + 9943f0f commit 1ba108d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Web_app/pages/MoviePol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44

55
# Path to the poll movies file
6-
movies_file = "pollmovies.csv"
6+
movies_file = os.path.join(os.path.dirname(__file__), "..", "pollmovies.csv")
77

88
# Load movies from pollmovies.csv if it exists
99
if os.path.exists(movies_file):

0 commit comments

Comments
 (0)