Skip to content

Commit 46b6345

Browse files
committed
create titledb folder
1 parent ea04fe8 commit 46b6345

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nut/Nsps.py

+1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ def load(fileName = 'titledb/files.json'):
147147

148148
def save(fileName = 'titledb/files.json', map = ['id', 'path', 'version', 'fileSize']):
149149
lock.acquire()
150+
os.makedirs(os.path.dirname(fileName), exist_ok = True)
150151

151152
try:
152153
j = []

0 commit comments

Comments
 (0)