Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
website
Commits
db5a4f29
Commit
db5a4f29
authored
Jul 23, 2018
by
Julian Rother
Browse files
Fixed regression in add_thumbnail_job
parent
49c81f52
Changes
1
Hide whitespace changes
Inline
Side-by-side
sorter.py
View file @
db5a4f29
...
...
@@ -51,7 +51,7 @@ def schedule_thumbnail(lectureid):
@
csrf_protect
@
handle_errors
(
'jobs_overview'
,
'Zu dieser Veranstaltung existieren keine Videos!'
,
404
,
IndexError
)
def
add_thumbnail_job
():
schedule_thumbnail
(
request
.
values
[
'lectureid'
])
schedule_thumbnail
(
int
(
request
.
values
[
'lectureid'
])
)
return
redirect
(
request
.
values
.
get
(
'ref'
,
url_for
(
'jobs_overview'
)))
def
insert_video
(
lectureid
,
dbfilepath
,
fileformatid
,
hash
=
""
,
filesize
=-
1
,
duration
=-
1
,
sourceid
=
None
):
...
...
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