mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 15:15:36 +01:00
Change fb2+zip to fb2zip
This commit is contained in:
@@ -143,7 +143,7 @@ class Book(ormar.Model):
|
||||
@ormar.property_field
|
||||
def available_types(self) -> list[str]:
|
||||
if self.file_type == 'fb2' and self.source.name == 'flibusta':
|
||||
return ['fb2', 'fb2+zip', 'epub', 'mobi']
|
||||
return ['fb2', 'fb2zip', 'epub', 'mobi']
|
||||
|
||||
return [self.file_type]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user