OSDN Git Service

add tsid channel information for complete BS support.
[rec10/rec10-git.git] / rec10 / trunk / src / zip.py
index 61d76d1..7dc9ab5 100644 (file)
@@ -13,7 +13,7 @@ def addFile2FileZip(addfile,basefile):
     if os.path.exists(basefile):
         th=zipfile.ZipFile(basefile,'a',zipfile.ZIP_DEFLATED)
     else:
-        th=zipfile.ZipFile(basefile,'w')
+        th=zipfile.ZipFile(basefile,'w',zipfile.ZIP_DEFLATED)
     if os.path.exists(addfile):
         th.write(addfile,os.path.basename(addfile))
     th.close()