Browse Source

Minor changes

devel
Heimbs 5 years ago
parent
commit
c8ab1e9eac
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      http-server

+ 1
- 1
http-server View File

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…
Cancel
Save