Update UtilPack.py and pupildata.py
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user