mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-04 22:53:37 +02:00
Fix recursion errors.
This commit is contained in:
parent
462ccf2934
commit
fe2336d227
1 changed files with 4 additions and 1 deletions
|
|
@ -1174,7 +1174,10 @@ def _processSection(self, parent_elem, lines,
|
|||
if theRest :
|
||||
theRest = theRest[1:] # skip the first (blank) line
|
||||
|
||||
self._processSection(parent_elem, theRest, inList)
|
||||
try:
|
||||
self._processSection(parent_elem, theRest, inList)
|
||||
except RuntimeError: #Added by Kovid
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue