diff --git a/UtilPack.py b/UtilPack.py index 1d22def..0ca9643 100644 --- a/UtilPack.py +++ b/UtilPack.py @@ -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): diff --git a/pupildata.py b/pupildata.py index 1764627..ed6303e 100644 --- a/pupildata.py +++ b/pupildata.py @@ -34,7 +34,7 @@ class PupuilInfoFile: with open(path, 'r') as file: self.m_data = json.load(file) - # pupil 의 JSON 을 파싱해서 DataClass 로 반환한다. + # pupil 의 JSON 을 파싱해서 DataClass 에 데이터를 넣어 반환한다. def GetInfo(self): if None == self.m_data: return None