Commits

Pierre Surply committed 93d37f5

Fix raise_error_reg

Comments (0)

Files changed (1)

src/robot/basic.py

 ##    along with BASIC-RoBots.  If not, see <http://www.gnu.org/licenses/>.
 ## 
 ## Started on  Sat May  5 13:04:41 2012 Pierre Surply
-## Last update Sun Aug 19 20:47:54 2012 Pierre Surply
+## Last update Fri Dec 21 14:57:09 2012 Pierre Surply
 ##
 
 import random
             
             
     def raise_error_reg(self, reg, line):
-        return self.raise_error("The robot has not the \"" + var + "\" register", line)
+        return self.raise_error("The robot has not the \"" + reg + "\" register", line)
 
     def raise_error_arg(self, cmd, nbr_arg, line):
         self.raise_error("The command \"" + cmd + "\" expect " + str(nbr_arg) + " argument(s)", line)