mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 11:45:55 +08:00
Use existing plugin registry
Fix after merge cura 8587
This commit is contained in:
parent
ec58cd2d0e
commit
0cc9d8db68
@ -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__)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user