Add more specific errors on the cli module.

This commit is contained in:
kenkeiras 2017-09-30 00:54:09 +02:00
parent 3abbd40b26
commit 542c4fca4b

View File

@ -46,4 +46,8 @@ def main():
else:
result.setter()
print("OK")
elif ret is None:
print("- Couldn't understand that, oops... -")
else:
print("Unhandled response:", ret)
print("< Bye!")