Create directory before filling it in.
This commit is contained in:
parent
fcd9854a17
commit
f66d69776b
@ -246,6 +246,7 @@ def main(src_top, dest_top):
|
||||
## Initial load
|
||||
t0 = time.time()
|
||||
|
||||
os.makedirs(dest_top, exist_ok=True)
|
||||
db = create_db(os.path.join(dest_top, 'db.sqlite3'))
|
||||
docs = regen_all(src_top, dest_top, db=db)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user