Skip to content

Commit

Permalink
get_item -> get_instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Dodge committed Aug 9, 2013
1 parent 487ae96 commit 32d92d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/djangoapps/contentstore/views/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def generate_export_course(request, org, course, name):
the course
"""
location = get_location_and_verify_access(request, org, course, name)
course_module = modulestore().get_item(location)
course_module = modulestore().get_instance(location.course_id, location)
loc = Location(location)
export_file = NamedTemporaryFile(prefix=name + '.', suffix=".tar.gz")

Expand Down

0 comments on commit 32d92d9

Please sign in to comment.