Merge pull request #2086 from deadworoz/patch-1

Converting a command to lowercase breaks a case-sensitive URL
This commit is contained in:
Miroslav Stampar 2016-08-08 15:48:41 +02:00 committed by GitHub
commit a1f85df12b

View File

@ -722,7 +722,7 @@ def client(host=RESTAPI_DEFAULT_ADDRESS, port=RESTAPI_DEFAULT_PORT):
while True: while True:
try: try:
command = raw_input("api%s> " % (" (%s)" % taskid if taskid else "")).strip().lower() command = raw_input("api%s> " % (" (%s)" % taskid if taskid else "")).strip()
except (EOFError, KeyboardInterrupt): except (EOFError, KeyboardInterrupt):
print print
break break