mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 09:15:18 +02:00
don't unpack pyd
This commit is contained in:
@@ -494,6 +494,8 @@ def unpack_to_dir(destpath = ""):
|
|||||||
for item in os.listdir(srcpath):
|
for item in os.listdir(srcpath):
|
||||||
s = os.path.join(srcpath, item)
|
s = os.path.join(srcpath, item)
|
||||||
d = os.path.join(destpath, item)
|
d = os.path.join(destpath, item)
|
||||||
|
if item.endswith('.pyd'): # Skip .pyd files
|
||||||
|
continue
|
||||||
if os.path.isdir(s):
|
if os.path.isdir(s):
|
||||||
shutil.copytree(s, d, False, None)
|
shutil.copytree(s, d, False, None)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user