From eb3e343be5dd6f7b2a53a88edaf36ad75ab798ac Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Tue, 16 Apr 2019 12:04:34 +0200 Subject: [PATCH] Rename variable Even if we could reuse the other, it make sense to call it 'deviation' Contributes to CURA-6458. --- .../VersionUpgrade40to41/VersionUpgrade40to41.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/VersionUpgrade/VersionUpgrade40to41/VersionUpgrade40to41.py b/plugins/VersionUpgrade/VersionUpgrade40to41/VersionUpgrade40to41.py index f79ec66e5a..db7d3c75da 100644 --- a/plugins/VersionUpgrade/VersionUpgrade40to41/VersionUpgrade40to41.py +++ b/plugins/VersionUpgrade/VersionUpgrade40to41/VersionUpgrade40to41.py @@ -54,8 +54,8 @@ class VersionUpgrade40to41(VersionUpgrade): resolution = parser["values"]["meshfix_maximum_resolution"] if resolution.startswith("="): resolution = resolution[1:] - resolution = "=(" + resolution + ") / 2" - parser["values"]["meshfix_maximum_deviation"] = resolution + deviation = "=(" + resolution + ") / 2" + parser["values"]["meshfix_maximum_deviation"] = deviation del parser["values"]["meshfix_maximum_resolution"] result = io.StringIO()