mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Dont advertise support for the rar and zip formats
This commit is contained in:
parent
0ef6a7fbc3
commit
a30c261f91
@ -43,7 +43,7 @@ def default_programs():
|
|||||||
def extensions(basename):
|
def extensions(basename):
|
||||||
if basename == 'calibre.exe':
|
if basename == 'calibre.exe':
|
||||||
from calibre.ebooks import BOOK_EXTENSIONS
|
from calibre.ebooks import BOOK_EXTENSIONS
|
||||||
return set(BOOK_EXTENSIONS)
|
return set(BOOK_EXTENSIONS) - {'rar', 'zip'}
|
||||||
if basename == 'ebook-viewer.exe':
|
if basename == 'ebook-viewer.exe':
|
||||||
from calibre.customize.ui import all_input_formats
|
from calibre.customize.ui import all_input_formats
|
||||||
return set(all_input_formats())
|
return set(all_input_formats())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user