mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Fix typing
CURA-6255
This commit is contained in:
parent
9aa5c3cd24
commit
0eea73d2a9
2 changed files with 2 additions and 2 deletions
|
@ -1069,7 +1069,7 @@ class XmlMaterialProfile(InstanceContainer):
|
|||
# This loads the mapping from a file.
|
||||
@classmethod
|
||||
def getProductIdMap(cls) -> Dict[str, List[str]]:
|
||||
plugin_path = PluginRegistry.getInstance().getPluginPath("XmlMaterialProfile")
|
||||
plugin_path = cast(str, PluginRegistry.getInstance().getPluginPath("XmlMaterialProfile"))
|
||||
product_to_id_file = os.path.join(plugin_path, "product_to_id.json")
|
||||
with open(product_to_id_file, encoding = "utf-8") as f:
|
||||
product_to_id_map = json.load(f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue