aboutsummaryrefslogtreecommitdiff
path: root/quiz.py
diff options
context:
space:
mode:
Diffstat (limited to 'quiz.py')
-rwxr-xr-xquiz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/quiz.py b/quiz.py
index c3ffe6c..616ab79 100755
--- a/quiz.py
+++ b/quiz.py
@@ -245,7 +245,7 @@ def main():
# Sort the questions acording to the loaded solutions
if args.sort == 'solutions':
sorted_questions = []
- for s in solutions.keys():
+ for s in solutions:
key = Path(s).stem
for q in questions:
if q.stem == key: