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)
|
await aiofiles.os.remove(filename_to_convert)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
print(
|
print(f"{response.status_code=} {filename_to_convert=}", flush=True)
|
||||||
response.status_code,
|
print("content=", open(filename_to_convert, "r").read(), flush=True)
|
||||||
filename_to_convert,
|
|
||||||
open(filename_to_convert, "r").read(),
|
|
||||||
flush=True,
|
|
||||||
)
|
|
||||||
|
|
||||||
if response.status_code != 200:
|
if response.status_code != 200:
|
||||||
raise ConvertationError
|
raise ConvertationError
|
||||||
|
|||||||
Reference in New Issue
Block a user