Skip to content

Commit

Permalink
Fix 'UnicodeDecodeError' issue
Browse files Browse the repository at this point in the history
  • Loading branch information
L11K authored Mar 3, 2024
1 parent d721a28 commit 86cbe5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TimeToTrakt.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def init_trakt_auth() -> bool:


def process_watched_shows() -> None:
with open(WATCHED_SHOWS_PATH, newline="") as csvfile:
with open(WATCHED_SHOWS_PATH, newline="", encoding="UTF-8") as csvfile:
reader = csv.DictReader(csvfile, delimiter=",")
total_rows = len(list(reader))
csvfile.seek(0, 0)
Expand Down

0 comments on commit 86cbe5b

Please sign in to comment.