Update UtilPack.py and pupildata.py

This commit is contained in:
2024-05-25 22:35:14 +09:00
parent 5c78235858
commit d4bc88e9b4
2 changed files with 3 additions and 2 deletions

View File

@@ -142,7 +142,8 @@ def ExtractZIP(zip_file, extract_to):
def CreateZIP(output_zip, *files):
with zipfile.ZipFile(output_zip, 'w') as zf:
for file in files:
zf.write(file, os.path.basename(file))
pathTemp = os.path.join('root', os.path.basename(file))
zf.write(file, pathTemp)
bRet = False
if os.path.exists(output_zip):