Commit 2ad08809 by Adam

Merge pull request #1469 from edx/adam/fix/courses-500

set courses_are_browsable flag to False, fix unicode error
parents 5e39ff65 ab5863a4
......@@ -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
......
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