Skip to content
Snippets Groups Projects
Commit 60736850 authored by Andreas Valder's avatar Andreas Valder
Browse files

fixed format always beeing none in sorter

parent 8944d078
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ def sort_now():
if not 'format' in data:
data['format'] = 0
# insert the video into videos_data and log
insert_video( matches[0]['id'], dbfilepath, filepath, fileformatid)
insert_video( matches[0]['id'], dbfilepath, filepath, data['format'])
else:
# if we couldn't match the video on exactly one lecture, log an error
matches_id = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment