|
|
|
|
|
|
|
|
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: |