summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Baumann <derflob@derflob.de>2016-07-16 08:42:28 +1200
committerFlorian Baumann <derflob@derflob.de>2016-07-16 08:42:28 +1200
commit1e4f0d0c45534367a23c031870e08a41815b80ef (patch)
tree262fcc00a06f3e52655970257644c4839ee712fb
parente67270e849173be4f29214d06017dfe4141a1a83 (diff)
downloadxmpp-1e4f0d0c45534367a23c031870e08a41815b80ef.tar.gz
xmpp-1e4f0d0c45534367a23c031870e08a41815b80ef.tar.bz2
fix typo...
-rw-r--r--__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index 1de2af3..81403fc 100644
--- a/__init__.py
+++ b/__init__.py
@@ -302,7 +302,7 @@ class OctoXMPP(EventHandlerPlugin, SettingsPlugin):
if (self._printer.is_printing() and not self._printer.is_paused()):
reply = "You can't move the Printer while it's printing! Pause it first."
else:
- pattern = re.compile(r"[{}][+-]?\d+(\.\d+)?".format("".join(self._printer.valid_axes + ('f',)), re.I)
+ pattern = re.compile(r"[{}][+-]?\d+(\.\d+)?".format("".join(self._printer.valid_axes + ('f',)), re.I))
valid_coords = True
for coord in coords:
if (not (coord and pattern.match(coord))):