Commit c74e6a72 authored by Andreas Valder's avatar Andreas Valder
Browse files

renamed jobs, added "equalto" for debian with old jinja2

parent 48d649fe
......@@ -106,6 +106,10 @@ def handle_errors(endpoint, text, code, *errors, **epargs):
def handle_not_found(e):
return render_endpoint('index', 'Diese Seite existiert nicht!'), 404
def equalto(a,b):
return a == b
def human_semester(s, long=False):
if not s or s == 'zeitlos' or len(s) != 6:
......@@ -476,5 +480,5 @@ if 'ICAL_URL' in config:
import meetings
if 'L2P_APIKEY' in config:
import l2pauth
import worker
import jobs
import timetable
Supports Markdown
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