- updated error

Tue, 01 Jul 2014 02:18:51 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Tue, 01 Jul 2014 02:18:51 +0300
changeset 24
3ef436e7d7c1
parent 23
c25944cac3e6
child 25
9fa1df6113c4

- updated error

cobalt.py file | annotate | diff | comparison | revisions
--- a/cobalt.py	Tue Jul 01 02:16:34 2014 +0300
+++ b/cobalt.py	Tue Jul 01 02:18:51 2014 +0300
@@ -559,7 +559,8 @@
 
 				self.privmsg (replyto, '%s degrees celsius, %s degrees fahrenheit' %(celvalue, fahrvalue))
 			else:
-				raise logical_exception ('unknown valuetype, expected one of: degrees, radians')
+				raise logical_exception ('unknown valuetype, expected one of: degrees, radians (angle conversion), ' +
+										 'celsius, fahrenheit (temperature conversion)')
 #		else:
 #			raise logical_exception ("unknown command `.%s`" % command)
 

mercurial