mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
e047a2c84e
@ -840,7 +840,7 @@ class _Interpreter:
|
|||||||
f = self.expr(prog.list_field_expr)
|
f = self.expr(prog.list_field_expr)
|
||||||
res = getattr(self.parent_book, f, f)
|
res = getattr(self.parent_book, f, f)
|
||||||
if res is not None:
|
if res is not None:
|
||||||
if not isinstance(res, list):
|
if isinstance(res, str):
|
||||||
res = [r.strip() for r in res.split(separator) if r.strip()]
|
res = [r.strip() for r in res.split(separator) if r.strip()]
|
||||||
ret = ''
|
ret = ''
|
||||||
if self.break_reporter:
|
if self.break_reporter:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user