From 9a767228f7cdd7b7c21a3f91dc1e73f986ba0efa Mon Sep 17 00:00:00 2001 From: Jaikinator Date: Tue, 27 Jun 2023 10:22:21 +0200 Subject: [PATCH] fixed wrong writing --- autotranscript/transcript_exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotranscript/transcript_exporter.py b/autotranscript/transcript_exporter.py index 16d5e09..2615a67 100644 --- a/autotranscript/transcript_exporter.py +++ b/autotranscript/transcript_exporter.py @@ -160,7 +160,7 @@ class Transcript: def to_txt(self, path: str) -> None: with open(path, "w") as f: - f.write(self.__str__, f) + f.write(self.__str__()) def to_md(self, path: str) -> None: return self.to_html(path)