We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fde1cd9 + 9943f0f commit 1ba108dCopy full SHA for 1ba108d
Web_app/pages/MoviePol.py
@@ -3,7 +3,7 @@
3
import os
4
5
# Path to the poll movies file
6
-movies_file = "pollmovies.csv"
+movies_file = os.path.join(os.path.dirname(__file__), "..", "pollmovies.csv")
7
8
# Load movies from pollmovies.csv if it exists
9
if os.path.exists(movies_file):
0 commit comments