|
@@ -92,6 +92,11 @@ class VersionUpgrade34to35(VersionUpgrade):
|
|
|
parser["metadata"] = {}
|
|
|
parser["metadata"]["setting_version"] = "5"
|
|
|
|
|
|
+ # Need to show the data collection agreement again because the data Cura collects has been changed.
|
|
|
+ if parser.has_option("info", "asked_send_slice_info"):
|
|
|
+ parser.remove_option("info", "asked_send_slice_info")
|
|
|
+ parser.remove_option("info", "send_slice_info")
|
|
|
+
|
|
|
result = io.StringIO()
|
|
|
parser.write(result)
|
|
|
return [filename], [result.getvalue()]
|