mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix regression in template for loops that use the separator keyword
This commit is contained in:
parent
c1b908825e
commit
9ae383d085
@ -513,6 +513,7 @@ class _Parser:
|
||||
is_list = True
|
||||
list_expr = self.top_expr()
|
||||
if self.token_is('separator'):
|
||||
self.consume()
|
||||
separator = self.expr()
|
||||
else:
|
||||
separator = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user