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
de3cc072
Commit
de3cc072
authored
Jul 23, 2018
by
Julian Rother
Browse files
Fixed another regression
parent
963863fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
sorter.py
View file @
de3cc072
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
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