X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=apt_p2p%2FCacheManager.py;fp=apt_p2p%2FCacheManager.py;h=77e42c64cd6d2744a1987a118e684cb5368a69eb;hb=d563aab35fc0fd1fab59e0f6d594fbb05735cf21;hp=24c821eda49a9d220bec462c0914122500c39b1e;hpb=7a84d9fb17076695aba3c0f5a32c6487bdd3f059;p=quix0rs-apt-p2p.git diff --git a/apt_p2p/CacheManager.py b/apt_p2p/CacheManager.py index 24c821e..77e42c6 100644 --- a/apt_p2p/CacheManager.py +++ b/apt_p2p/CacheManager.py @@ -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