parent
75c0a750c1
commit
1aed4ff2a5
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class PDFParser(abstract.AbstractParser):
|
|||
if self.lightweight_cleaning is True:
|
||||
try:
|
||||
return self.__remove_all_lightweight()
|
||||
except cairo.Error as e:
|
||||
except (cairo.Error, MemoryError) as e:
|
||||
raise RuntimeError(e)
|
||||
return self.__remove_all_thorough()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue