bed_level: Fix other regex statement for screws Fixes another regex statement to allow negative values. Addresses #138
This commit is contained in:
parent
9dce74fac1
commit
b39d433c46
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user