mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
452bb19df1
commit
cfc40a68bb
@ -1546,6 +1546,8 @@ class DB(object):
|
||||
# Parent directory already exists, re-raise original exception
|
||||
raise exc_info[0], exc_info[1], exc_info[2]
|
||||
raise
|
||||
finally:
|
||||
del exc_info
|
||||
with lopen(path, 'wb') as f:
|
||||
f.write(raw)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user