From de3cc072c243bdc52fbf9528d5ad3df3d8864b5c Mon Sep 17 00:00:00 2001 From: Julian Rother <julianr@fsmpi.rwth-aachen.de> Date: Mon, 23 Jul 2018 01:51:04 +0200 Subject: [PATCH] Fixed another regression --- sorter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sorter.py b/sorter.py index a24ad12..675161a 100644 --- a/sorter.py +++ b/sorter.py @@ -228,7 +228,7 @@ def sort_now(): knownerrors = query('SELECT sorterrorlog.path FROM sorterrorlog WHERE sorterrorlog.course_id = ?',course['id']) ignorefiles = [] 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']) coursepath = mountpoint['mountpoint']+course['handle'] try: -- GitLab