Merge pull request #288 from cuu/master

unzip with override
This commit is contained in:
GNU 2019-08-22 21:17:15 +08:00 committed by GitHub
commit 870e71b85b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ class DownloadProcessPage(Page):
if filename.endswith(".zip"):
os.chdir(self._DST_DIR)
os.system( "unzip " + filename )
os.system( "unzip -o " + filename )
elif filename.endswith(".zsync"):
os.chdir(self._DST_DIR)