mirror of
https://github.com/flibusta-apps/books_downloader.git
synced 2025-12-06 06:55:37 +01:00
Change +zip to zip
This commit is contained in:
@@ -29,11 +29,11 @@ class FLDownloader(BaseDownloader):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def file_type(self):
|
def file_type(self):
|
||||||
return self.original_file_type.replace("+zip", "")
|
return self.original_file_type.replace("zip", "")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def need_zip(self):
|
def need_zip(self):
|
||||||
return "+zip" in self.original_file_type
|
return "zip" in self.original_file_type
|
||||||
|
|
||||||
async def get_filename(self) -> str:
|
async def get_filename(self) -> str:
|
||||||
if not self.get_book_data_task.done():
|
if not self.get_book_data_task.done():
|
||||||
|
|||||||
Reference in New Issue
Block a user