diff --git a/pronsole.py b/pronsole.py index 29e0a6d..a50e27d 100755 --- a/pronsole.py +++ b/pronsole.py @@ -62,15 +62,15 @@ def measurements(g): if "X" in i and ("G1" in i or "G0" in i): try: Xcur = float(i.split("X")[1].split(" ")[0]) - if Xcur5.0: Xmin = Xcur - if Xcur>Xmax: Xmax = Xcur + if XcurXmax: Xmax=Xcur except: pass if "Y" in i and ("G1" in i or "G0" in i): try: Ycur = float(i.split("Y")[1].split(" ")[0]) - if Ycur5.0: Ymin = Ycur - if Ycur>Ymax: Ymax = Ycur + if YcurYmax: Ymax=Ycur except: pass