mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-26 15:15:16 +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):
|
||||
s = os.path.join(srcpath, item)
|
||||
d = os.path.join(destpath, item)
|
||||
if item.endswith('.pyd'): # Skip .pyd files
|
||||
continue
|
||||
if os.path.isdir(s):
|
||||
shutil.copytree(s, d, False, None)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user