mirror of
https://github.com/flibusta-apps/books_downloader.git
synced 2025-12-06 15:05:37 +01:00
Update debug logs
This commit is contained in:
@@ -222,12 +222,8 @@ 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,
|
||||
)
|
||||
print(f"{response.status_code=} {filename_to_convert=}", flush=True)
|
||||
print("content=", open(filename_to_convert, "r").read(), flush=True)
|
||||
|
||||
if response.status_code != 200:
|
||||
raise ConvertationError
|
||||
|
||||
Reference in New Issue
Block a user