mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix failing test.
This commit is contained in:
parent
42726c5e0f
commit
715f6d9b81
@ -1789,7 +1789,7 @@ class TemplateFormatter(string.Formatter):
|
|||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
if column_name:
|
if column_name:
|
||||||
prints('Error evaluating column named:', column_name)
|
prints('Error evaluating column named:', column_name)
|
||||||
ans = str(e)
|
ans = error_value + ' ' + error_message(e)
|
||||||
return ans
|
return ans
|
||||||
finally:
|
finally:
|
||||||
self.restore_state(state)
|
self.restore_state(state)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user