diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2017-11-02 14:58:52 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2017-11-02 15:01:49 +0300 |
commit | 25c41062e10a4871afe29ddbf69151222aa9e5e6 (patch) | |
tree | 7a2d56aff28e471e847490360be153295360fcec /plugins/XmlMaterialProfile/__init__.py | |
parent | a623c2ae75006f525dc498156963d6dc6ba79a1f (diff) |
Fix material upgrade and version checking
CURA-4519
Less duplicated code, but it's still one of the worst parts...
Diffstat (limited to 'plugins/XmlMaterialProfile/__init__.py')
-rw-r--r-- | plugins/XmlMaterialProfile/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/XmlMaterialProfile/__init__.py b/plugins/XmlMaterialProfile/__init__.py index 8173e9dd04..70a359ee76 100644 --- a/plugins/XmlMaterialProfile/__init__.py +++ b/plugins/XmlMaterialProfile/__init__.py @@ -19,7 +19,7 @@ def getMetaData(): "mimetype": "application/x-ultimaker-material-profile" }, "version_upgrade": { - ("materials", 1000000): ("materials", 1000003, upgrader.upgradeMaterial), + ("materials", 1000000): ("materials", 1000004, upgrader.upgradeMaterial), }, "sources": { "materials": { |