]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - apt_p2p/CacheManager.py
Add statistics reporting to the main program (untested).
[quix0rs-apt-p2p.git] / apt_p2p / CacheManager.py
index 24c821eda49a9d220bec462c0914122500c39b1e..77e42c64cd6d2744a1987a118e684cb5368a69eb 100644 (file)
@@ -347,7 +347,7 @@ class CacheManager:
         if destFile.exists():
             log.msg('File already exists, removing: %s' % destFile.path)
             destFile.remove()
-        elif not destFile.parent().exists():
+        if not destFile.parent().exists():
             destFile.parent().makedirs()
 
         # Determine whether it needs to be decompressed and how