Minor changes
This commit is contained in:
parent
487f7cc0d7
commit
c8ab1e9eac
@ -31,7 +31,7 @@ class SimpleHandler(server.BaseHTTPRequestHandler):
|
|||||||
msg = "Invalid number of Query Components! Two components needed."
|
msg = "Invalid number of Query Components! Two components needed."
|
||||||
else:
|
else:
|
||||||
if query_components[0][0] != 'von' or query_components[1][0] != 'bis':
|
if query_components[0][0] != 'von' or query_components[1][0] != 'bis':
|
||||||
msg = "Invalid Query Components! First key has to be 'von', second key 'bis'."
|
msg = "Invalid Query Components! First key should be 'von', second key 'bis'."
|
||||||
self.wfile.write(msg.encode('utf-8'))
|
self.wfile.write(msg.encode('utf-8'))
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user