mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-31 03:25:07 +01:00
Fix regression in 0.8.43 that broke use of general mode templates that ended in a semi-colon. Fixes #957295 (Template Error: Custom Column built from other columns)
This commit is contained in:
commit
874cfd9fa6
1 changed files with 2 additions and 2 deletions
|
|
@ -210,11 +210,11 @@ def statement(self, level=0):
|
|||
return val
|
||||
if not self.token_op_is_a_semicolon():
|
||||
return val
|
||||
if self.compile_text:
|
||||
self.compile_text += "\targs[%d] = list()\n"%(level,)
|
||||
self.consume()
|
||||
if self.token_is_eof():
|
||||
return val
|
||||
if self.compile_text:
|
||||
self.compile_text += "\targs[%d] = list()\n"%(level,)
|
||||
|
||||
def expr(self, level):
|
||||
if self.compile_text:
|
||||
|
|
|
|||
Loading…
Reference in a new issue