diff --git a/runestone/pretext/chapter_pop.py b/runestone/pretext/chapter_pop.py index be7c67800..d6c3f1f85 100644 --- a/runestone/pretext/chapter_pop.py +++ b/runestone/pretext/chapter_pop.py @@ -245,7 +245,7 @@ def manifest_data_to_db(course_name, manifest_path): .where( and_( source_code.c.acid == filename, - questions.c.course_id == course_name, + source_code.c.course_id == course_name, ) ) .values(**vdict)