Use plugin Id instead of __file__ for XmlMaterialProfile

CURA-6255
This commit is contained in:
Nino van Hooff 2019-12-24 15:42:01 +01:00
parent 49b93db6df
commit 128bfa987e
3 changed files with 22 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Copyright (c) 2017 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from plugins.XmlMaterialProfile.PluginInfo import PluginInfo
from . import XmlMaterialProfile
from . import XmlMaterialUpgrader
@ -46,4 +46,5 @@ def register(app):
return {"version_upgrade": upgrader,
"settings_container": XmlMaterialProfile.XmlMaterialProfile("default_xml_material_profile"),
"plugin_info": PluginInfo()
}