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
dcabcd71
Commit
dcabcd71
authored
Dec 28, 2017
by
Kiste
Browse files
Fix?
parent
511c6b50
Changes
1
Hide whitespace changes
Inline
Side-by-side
studsauger/studsauger.py
View file @
dcabcd71
...
...
@@ -143,7 +143,7 @@ def get_semester(path, session, blacklist, timestamp, cursemester):
for
course
in
json_courses
[
'courses'
]:
if
course
[
'title'
]
in
blacklist
:
continue
mkdir
(
path
+
'/'
+
course
[
'title'
])
mkdir
(
path
+
'/'
+
course
[
'title'
]
.
replace
(
'/'
,
''
)
)
try
:
json_new
=
session
.
get
(
BASEURL
+
'/documents/'
+
course
[
'course_id'
]
+
'/new'
+
timestamp
).
json
()
for
document
in
json_new
[
'documents'
]:
...
...
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