Skip to content

Commit bbee0be

Browse files
committed
Update nfc_movie_player.py
1 parent 328a9f9 commit bbee0be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def move():
7979
root.after(30, move)
8080

8181
def get_movie(uid):
82-
with open(f"{home_path}/{csv_file}", "r") as file:
82+
with open(f"/home/{username}/{csv_file}", "r") as file:
8383
reader = csv.DictReader(file)
8484
for row in reader:
8585
if row["uid"] == uid:

0 commit comments

Comments
 (0)