Use existing plugin registry

Fix after merge

cura 8587
This commit is contained in:
casper 2021-12-06 15:51:19 +01:00
parent ec58cd2d0e
commit 0cc9d8db68

View file

@ -54,7 +54,7 @@ class PackageList(ListModel):
self._license_model = LicenseModel() self._license_model = LicenseModel()
plugin_path = PluginRegistry.getInstance().getPluginPath("Marketplace") plugin_path = self._plugin_registry.getPluginPath("Marketplace")
if plugin_path is None: if plugin_path is None:
plugin_path = os.path.dirname(__file__) plugin_path = os.path.dirname(__file__)