mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 16:33:43 +02:00
Make base directories only
This commit is contained in:
parent
9e9ea5178f
commit
58a66b1007
1 changed files with 1 additions and 1 deletions
|
|
@ -676,7 +676,7 @@ def exists(h):
|
|||
# of links to the file
|
||||
base = os.path.dirname(path)
|
||||
if not os.path.exists(base):
|
||||
os.makedirs(path)
|
||||
os.makedirs(base)
|
||||
open(path, 'wb').close()
|
||||
return item
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue