mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 13:33:12 +02:00
Make the error about calibre_bookmarks.txt a simple informational message
This commit is contained in:
parent
87dd29e97f
commit
8fc809ae0c
1 changed files with 3 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
from calibre.ebooks.oeb.base import OEB_DOCS, OEB_STYLES
|
||||
from calibre.ebooks.oeb.polish.container import guess_type, OEB_FONTS
|
||||
from calibre.ebooks.oeb.polish.check.base import BaseError, WARN
|
||||
from calibre.ebooks.oeb.polish.check.base import BaseError, WARN, INFO
|
||||
|
||||
class BadLink(BaseError):
|
||||
|
||||
|
|
@ -61,6 +61,8 @@ def __init__(self, name):
|
|||
' need that information, or dont want to share it with'
|
||||
' other people you send this book to.')
|
||||
self.INDIVIDUAL_FIX = _('Remove this file')
|
||||
self.level = INFO
|
||||
self.msg = _('The bookmarks file used by the calibre ebook viewer is present')
|
||||
|
||||
def __call__(self, container):
|
||||
container.remove_item(self.name)
|
||||
|
|
|
|||
Loading…
Reference in a new issue