Commit 197957d8 authored by Kiste's avatar Kiste
Browse files


parent 992a9e1a
......@@ -114,7 +114,7 @@ def main():
json_courses = session.get(BASEURL + '/user/' + json_user['user_id'] + '/courses', params='limit=1000').json()
if not allsemesters:
latest = None
unixnow = int(time.time())
for key, semester in json_semesters['collection'].items():
if unixnow >= semester['begin'] and unixnow <= semester['end']:
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