mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Fix exception when using the formatter 'print' function
This commit is contained in:
parent
afd774cc9f
commit
42aa293c8d
@ -329,7 +329,7 @@ class BuiltinPrint(BuiltinFormatterFunction):
|
||||
|
||||
def evaluate(self, formatter, kwargs, mi, locals, *args):
|
||||
print args
|
||||
return None
|
||||
return ''
|
||||
|
||||
class BuiltinField(BuiltinFormatterFunction):
|
||||
name = 'field'
|
||||
|
Loading…
x
Reference in New Issue
Block a user