mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 18:04:36 +02:00
...
This commit is contained in:
parent
df074821c4
commit
c2a7d26b51
1 changed files with 2 additions and 1 deletions
|
|
@ -100,7 +100,8 @@ def _cleanup(self):
|
|||
try:
|
||||
self.consolidate_log()
|
||||
except:
|
||||
self.log.exception('Log consolidation failed')
|
||||
if self.log is not None:
|
||||
self.log.exception('Log consolidation failed')
|
||||
|
||||
# No need to keep references to these around anymore
|
||||
self.func = self.args = self.kwargs = self.notifications = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue