Commit de3cc072 authored by Julian Rother's avatar Julian Rother
Browse files

Fixed another regression

parent 963863fc
...@@ -228,7 +228,7 @@ def sort_now(): ...@@ -228,7 +228,7 @@ def sort_now():
knownerrors = query('SELECT sorterrorlog.path FROM sorterrorlog WHERE sorterrorlog.course_id = ?',course['id']) knownerrors = query('SELECT sorterrorlog.path FROM sorterrorlog WHERE sorterrorlog.course_id = ?',course['id'])
ignorefiles = [] ignorefiles = []
for path in existingvideos + knownerrors: for path in existingvideos + knownerrors:
ignorefiles.append(os.path.basename(path)) ignorefiles.append(os.path.basename(path['path']))
lectures = query('SELECT * from lectures where course_id = ?',course['id']) lectures = query('SELECT * from lectures where course_id = ?',course['id'])
coursepath = mountpoint['mountpoint']+course['handle'] coursepath = mountpoint['mountpoint']+course['handle']
try: try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment