mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-31 19:26:26 +01:00
Add missing parameter to unsafe_format to prevent exceptions in save-to-disk
This commit is contained in:
parent
0ffdbf0be9
commit
c018244afe
1 changed files with 2 additions and 1 deletions
|
|
@ -499,7 +499,8 @@ def evaluate(self, fmt, args, kwargs):
|
|||
|
||||
########## a formatter that throws exceptions ############
|
||||
|
||||
def unsafe_format(self, fmt, kwargs, book):
|
||||
def unsafe_format(self, fmt, kwargs, book, strip_results=True):
|
||||
self.strip_results = strip_results
|
||||
self.column_name = self.template_cache = None
|
||||
self.kwargs = kwargs
|
||||
self.book = book
|
||||
|
|
|
|||
Loading…
Reference in a new issue