summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sortashuffle.py2
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
42INDEX = open(TARGET + "//" + "_PLAYLIST_INDEX.txt", 'w') 42INDEX = open(TARGET + "//" + "_PLAYLIST_INDEX.txt", 'w', encoding='utf-8')
43INDEX.write("\n".join(SHUFFLED)) 43INDEX.write("\n".join(SHUFFLED))
44INDEX.close() 44INDEX.close()