bugfix
authorTomas Musil <tomik.musil@gmail.com>
Sat, 24 Mar 2012 20:23:32 +0000 (21:23 +0100)
committerTomas Musil <tomik.musil@gmail.com>
Sat, 24 Mar 2012 20:23:32 +0000 (21:23 +0100)
robot.py

index f227eb5..21d297a 100755 (executable)
--- a/robot.py
+++ b/robot.py
@@ -98,7 +98,7 @@ if 'A' in opsny:
     mod_x = True
     mod_m = True
 if not mod_m and not mod_x:
-    if ' ' in ocesat(zprava, True):
+    if ' ' in ocesat(zprava, True)[1:-1]:
         mod_m = True
         analyza.append("\nAutomaticky zvolena analyza s mezerami.")
     else: