summaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor/ugoira.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/postprocessor/ugoira.py')
-rw-r--r--gallery_dl/postprocessor/ugoira.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/postprocessor/ugoira.py b/gallery_dl/postprocessor/ugoira.py
index 33ebb75..1a55e22 100644
--- a/gallery_dl/postprocessor/ugoira.py
+++ b/gallery_dl/postprocessor/ugoira.py
@@ -386,7 +386,7 @@ class UgoiraPP(PostProcessor):
content.append("")
ffconcat = tempdir + "/ffconcat.txt"
- with open(ffconcat, "w") as fp:
+ with open(ffconcat, "w", encoding="utf-8") as fp:
fp.write("\n".join(content))
return ffconcat
@@ -401,7 +401,7 @@ class UgoiraPP(PostProcessor):
content.append("")
timecodes = tempdir + "/timecodes.tc"
- with open(timecodes, "w") as fp:
+ with open(timecodes, "w", encoding="utf-8") as fp:
fp.write("\n".join(content))
return timecodes