Bundle srt module with edge-tts (#393)

Fixes https://github.com/rany2/edge-tts/issues/383

Signed-off-by: rany <rany2@riseup.net>
This commit is contained in:
rany2
2025-08-05 13:43:57 +03:00
committed by GitHub
parent f78c8ece0a
commit 36d3006df5
7 changed files with 338 additions and 15 deletions

View File

@@ -134,7 +134,7 @@ async def amain() -> None:
if args.file in ("-", "/dev/stdin"):
args.text = sys.stdin.read()
else:
with open(args.file, "r", encoding="utf-8") as file:
with open(args.file, encoding="utf-8") as file:
args.text = file.read()
if args.text is not None: