mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
don't unpack pyd
This commit is contained in:
parent
1a23d49c32
commit
4d9ccddc2c
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue