CURA-5296 Better finding for packages.json

This commit is contained in:
Ian Paschal 2018-05-14 14:44:40 +02:00
parent 757824ae93
commit dd14a8e685
2 changed files with 4 additions and 4 deletions

View file

@ -30,9 +30,7 @@ class CuraPackageManager(QObject):
# JSON file that keeps track of all installed packages.
self._bundled_package_management_file_path = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
"..",
"resources",
os.path.abspath(Resources.getBundledResourcesPath()),
"packages.json"
)
self._user_package_management_file_path = os.path.join(