This commit is contained in:
2022-06-27 18:57:26 +03:00
parent 05723867ff
commit 95792fa67e

View File

@@ -223,6 +223,13 @@ class FLDownloader(BaseDownloader):
await aiofiles.os.remove(filename_to_convert)
try:
print(
response.status_code,
filename_to_convert,
open(filename_to_convert, "r").read(),
flush=True,
)
if response.status_code != 200:
raise ConvertationError