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