Commit 19a40beb authored by Lysander Trischler's avatar Lysander Trischler

Fix date bug resulting in HTTP 500

parent 6afe35e4
......@@ -1089,6 +1089,7 @@ if __name__ == "__main__":
else:
date = date.astimezone(berlin)
except Exception as e:
date = None
self.error_messages.append("Fehlerhafte Messzeitpunktangabe: %r" % e)
self.set_status(400)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment