Skip to content

Commit 9943f0f

Browse files
committed
fix: #291 path of 'pollmovies.csv' changed
1 parent 586716d commit 9943f0f

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)