Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Roman Karwacik
website
Commits
631a6ac5
Commit
631a6ac5
authored
Jan 04, 2018
by
Julian Rother
Browse files
Fixed small bug in chapter import handler
parent
91ed667b
Changes
1
Hide whitespace changes
Inline
Side-by-side
chapters.py
View file @
631a6ac5
...
...
@@ -3,7 +3,7 @@ from server import *
@
job_handler
(
'probe'
,
'probe-raw'
)
def
import_xmp_chapters
(
jobid
,
jobtype
,
data
,
state
,
status
):
if
'lecture_id'
not
in
data
and
data
.
get
(
'import-chapters'
,
False
):
if
'lecture_id'
not
in
data
or
not
data
.
get
(
'import-chapters'
,
False
):
return
times
=
set
()
# Only add new chapters, deleted chapters are taken into account here
...
...
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