Skip to content

Commit

Permalink
Update nfc_movie_player.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BlitzCityDIY committed Nov 4, 2024
1 parent 328a9f9 commit bbee0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bbee0be

Please sign in to comment.