Commit 37768dec authored by Jonathan Wiedemann's avatar Jonathan Wiedemann
Browse files

sort lessons lst

parent 92a96ce8
......@@ -288,6 +288,7 @@ class Ui_MoocChooser(QtWidgets.QDialog):
moocWBpath = os.path.dirname(moocwb_locator.__file__)
moocWBpath_lessons = os.path.join(moocWBpath, 'lessons')
onlyfiles = [f for f in listdir(moocWBpath_lessons) if isfile(join(moocWBpath_lessons, f))]
onlyfiles.sort()
#print(onlyfiles)
for lesson in onlyfiles:
......
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