Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
aal
studsoiger
Commits
197957d8
Commit
197957d8
authored
Feb 13, 2018
by
Kiste
Browse files
Spaces
parent
992a9e1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
studsauger/studsauger.py
View file @
197957d8
...
...
@@ -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
latest
=
None
unixnow
=
int
(
time
.
time
())
for
key
,
semester
in
json_semesters
[
'collection'
].
items
():
if
unixnow
>=
semester
[
'begin'
]
and
unixnow
<=
semester
[
'end'
]:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment