bed_level: Fix other regex statement for screws Fixes another regex statement to allow negative values. Addresses #138

This commit is contained in:
Jordan Ruthe 2021-04-26 20:55:24 -04:00
parent 9dce74fac1
commit b39d433c46

View File

@ -146,7 +146,7 @@ class BedLevelPanel(ScreenPanel):
def process_update(self, action, data):
if action == "notify_gcode_response":
result = re.match(
"^// (.*) : X ([0-9\.]+), Y ([0-9\.]+), Z [0-9\.]+ : Adjust -> ([CW]+ [0-9:]+)",
"^// (.*) : X ([\-0-9\.]+), Y ([\-0-9\.]+), Z [\-0-9\.]+ : Adjust -> ([CW]+ [0-9:]+)",
data
)
if result: