Browse Source

Add version upgrade 460to462

CURA-7421
Kostas Karmas 4 years ago
parent
commit
74bc40eb90

+ 1 - 1
plugins/VersionUpgrade/VersionUpgrade46to47/VersionUpgrade46to47.py → plugins/VersionUpgrade/VersionUpgrade460to462/VersionUpgrade460to462.py

@@ -6,7 +6,7 @@ from typing import Tuple, List
 import io
 from UM.VersionUpgrade import VersionUpgrade
 
-class VersionUpgrade46to47(VersionUpgrade):
+class VersionUpgrade460to462(VersionUpgrade):
     def getCfgVersion(self, serialised: str) -> int:
         parser = configparser.ConfigParser(interpolation = None)
         parser.read_string(serialised)

+ 2 - 2
plugins/VersionUpgrade/VersionUpgrade46to47/__init__.py → plugins/VersionUpgrade/VersionUpgrade460to462/__init__.py

@@ -3,12 +3,12 @@
 
 from typing import Any, Dict, TYPE_CHECKING
 
-from . import VersionUpgrade46to47
+from . import VersionUpgrade460to462
 
 if TYPE_CHECKING:
     from UM.Application import Application
 
-upgrade = VersionUpgrade46to47.VersionUpgrade46to47()
+upgrade = VersionUpgrade460to462.VersionUpgrade460to462()
 
 def getMetaData() -> Dict[str, Any]:
     return {

+ 8 - 0
plugins/VersionUpgrade/VersionUpgrade460to462/plugin.json

@@ -0,0 +1,8 @@
+{
+    "name": "Version Upgrade 4.6.0 to 4.6.2",
+    "author": "Ultimaker B.V.",
+    "version": "1.0.0",
+    "description": "Upgrades configurations from Cura 4.6.0 to Cura 4.6.2.",
+    "api": "7.2.0",
+    "i18n-catalog": "cura"
+}

+ 0 - 8
plugins/VersionUpgrade/VersionUpgrade46to47/plugin.json

@@ -1,8 +0,0 @@
-{
-    "name": "Version Upgrade 4.6 to 4.7",
-    "author": "Ultimaker B.V.",
-    "version": "1.0.0",
-    "description": "Upgrades configurations from Cura 4.6 to Cura 4.7.",
-    "api": "7.2.0",
-    "i18n-catalog": "cura"
-}