diff options
-rw-r--r-- | sortashuffle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sortashuffle.py b/sortashuffle.py index bcd9373..6c8a1bc 100644 --- a/sortashuffle.py +++ b/sortashuffle.py | |||
@@ -39,6 +39,6 @@ for episode in SHUFFLED: | |||
39 | os.symlink(episode, TARGET + "//" + str(count)) | 39 | os.symlink(episode, TARGET + "//" + str(count)) |
40 | count += 1 | 40 | count += 1 |
41 | 41 | ||
42 | INDEX = open(TARGET + "//" + "_PLAYLIST_INDEX.txt", 'w') | 42 | INDEX = open(TARGET + "//" + "_PLAYLIST_INDEX.txt", 'w', encoding='utf-8') |
43 | INDEX.write("\n".join(SHUFFLED)) | 43 | INDEX.write("\n".join(SHUFFLED)) |
44 | INDEX.close() | 44 | INDEX.close() |