mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Merge pull request #6751 from Ultimaker/CURA-6994
CURA-6994/Prevent deleting comments from Start/End G-codes
This commit is contained in:
commit
19da7b932a
3 changed files with 3 additions and 3 deletions
|
@ -239,7 +239,7 @@ class VersionUpgrade41to42(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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -52,7 +52,7 @@ class VersionUpgrade43to44(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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue