Explorar el Código

Merge pull request #288 from cuu/master

unzip with override
GNU hace 4 años
padre
commit
870e71b85b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      sys.py/UI/download_process_page.py

+ 1 - 1
sys.py/UI/download_process_page.py

@@ -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)