Traceback (most recent call last): File "/homepages/19/d237060452/htdocs/generationsnow/lib/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/homepages/19/d237060452/htdocs/generationsnow/lib/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/homepages/19/d237060452/htdocs/generationsnow/lib/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/homepages/19/d237060452/htdocs/generationsnow/lib/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/homepages/19/d237060452/htdocs/generationsnow/lib/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/homepages/19/d237060452/htdocs/generationsnow/lib/flask/views.py", line 88, in view return self.dispatch_request(*args, **kwargs) File "/homepages/19/d237060452/htdocs/generationsnow/base/baseview.py", line 35, in dispatch_request self.prepare(*args, **kwargs) File "/homepages/19/d237060452/htdocs/generationsnow/journeys/views/journeyDetails.py", line 54, in prepare match = next(iter(filter(lambda d: today < d[0], allperiods.keys())), allperiods.keys()[0]) IndexError: list index out of range