diff options
-rw-r--r-- | cura/CuraPackageManager.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cura/CuraPackageManager.py b/cura/CuraPackageManager.py index 3d4a360c7e..1ec9e2d993 100644 --- a/cura/CuraPackageManager.py +++ b/cura/CuraPackageManager.py @@ -306,9 +306,8 @@ class CuraPackageManager(QObject): Logger.log("i", "Installing package [%s] from file [%s]", package_id, filename) - # If it's installed, remove it first and then install - if package_id in self._installed_package_dict: - self._purgePackage(package_id) + # remove it first and then install + self._purgePackage(package_id) # Install the package with zipfile.ZipFile(filename, "r") as archive: |