Skip to content

Commit e307ceb

Browse files
committed
Restore automatic destpath creation
1 parent 89b494c commit e307ceb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

koboldcpp.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,9 @@ def unpack_to_dir(destpath = ""):
654654
if not destpath:
655655
return
656656

657+
if not os.path.isdir(destpath):
658+
os.makedirs(destpath)
659+
657660
if os.path.isdir(srcpath) and os.path.isdir(destpath) and not os.listdir(destpath):
658661
try:
659662
if cliunpack:

0 commit comments

Comments
 (0)