Skip to content
Snippets Groups Projects
Commit ab5863a4 authored by Adam Palay's avatar Adam Palay
Browse files

fixes unicode error in course image filenames on /courses page

parent cda168da
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ class StaticContent(object):
@staticmethod
def get_url_path_from_location(location):
if location is not None:
return "/{tag}/{org}/{course}/{category}/{name}".format(**location.dict())
return u"/{tag}/{org}/{course}/{category}/{name}".format(**location.dict())
else:
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment