Commit 60d4a691 authored by Guillaume Seguin's avatar Guillaume Seguin

Match uppercase commands in parseusercmd(), fixes #408

parent f190ec86
...@@ -1127,9 +1127,9 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -1127,9 +1127,9 @@ class PronterWindow(MainWindow, pronsole.pronsole):
self.xyb.repeatLast() self.xyb.repeatLast()
def parseusercmd(self, line): def parseusercmd(self, line):
if line.startswith("M114"): if line.upper().startswith("M114"):
self.userm114 += 1 self.userm114 += 1
elif line.startswith("M105"): elif line.upper().startswith("M105"):
self.userm105 += 1 self.userm105 += 1
def procbutton(self, e): def procbutton(self, e):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment