diff --git a/Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py b/Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py index 3bfefc8bc..196b0cba9 100644 --- a/Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py +++ b/Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py @@ -79,7 +79,7 @@ def move(): root.after(30, move) def get_movie(uid): - with open(f"{home_path}/{csv_file}", "r") as file: + with open(f"/home/{username}/{csv_file}", "r") as file: reader = csv.DictReader(file) for row in reader: if row["uid"] == uid: