Minor changes

This commit is contained in:
Heimbs 2019-10-29 13:16:54 +01:00
parent 487f7cc0d7
commit c8ab1e9eac

View File

@ -31,7 +31,7 @@ class SimpleHandler(server.BaseHTTPRequestHandler):
msg = "Invalid number of Query Components! Two components needed."
else:
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'))
else:
try: