Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitriovski <d.dimitriovski@ultimaker.com>2019-12-03 16:40:54 +0300
committerDimitriovski <d.dimitriovski@ultimaker.com>2019-12-03 16:40:54 +0300
commit74d919a5d201342dd75d38611b7787d80c7492b5 (patch)
tree7299d100ecc02a6ab129263e7985fd14520f7e92 /plugins/VersionUpgrade/VersionUpgrade42to43
parent726561bf309616107ad874d4e508b3a3ec9e5701 (diff)
Prevent deleting comments from Start/End G-codes by changing the comment_prefixes in ConfigParser
CURA/6994
Diffstat (limited to 'plugins/VersionUpgrade/VersionUpgrade42to43')
-rw-r--r--plugins/VersionUpgrade/VersionUpgrade42to43/VersionUpgrade42to43.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VersionUpgrade/VersionUpgrade42to43/VersionUpgrade42to43.py b/plugins/VersionUpgrade/VersionUpgrade42to43/VersionUpgrade42to43.py
index c15f1e0468..d6489f6d8b 100644
--- a/plugins/VersionUpgrade/VersionUpgrade42to43/VersionUpgrade42to43.py
+++ b/plugins/VersionUpgrade/VersionUpgrade42to43/VersionUpgrade42to43.py
@@ -104,7 +104,7 @@ class VersionUpgrade42to43(VersionUpgrade):
#
# This renames the renamed settings in the containers.
def upgradeInstanceContainer(self, serialized: str, filename: str) -> Tuple[List[str], List[str]]:
- parser = configparser.ConfigParser(interpolation = None)
+ parser = configparser.ConfigParser(interpolation = None, comment_prefixes=())
parser.read_string(serialized)
# Update version number.