Remove unnecessary encode
This commit is contained in:
@@ -31,7 +31,7 @@ def import_static_content(modules, course_loc, course_data_path, static_content_
|
|||||||
try:
|
try:
|
||||||
content_path = os.path.join(dirname, filename)
|
content_path = os.path.join(dirname, filename)
|
||||||
if verbose:
|
if verbose:
|
||||||
log.debug('importing static content %s...', content_path.encode("utf-8"))
|
log.debug('importing static content %s...', content_path)
|
||||||
|
|
||||||
fullname_with_subpath = content_path.replace(static_dir, '') # strip away leading path from the name
|
fullname_with_subpath = content_path.replace(static_dir, '') # strip away leading path from the name
|
||||||
if fullname_with_subpath.startswith('/'):
|
if fullname_with_subpath.startswith('/'):
|
||||||
|
|||||||
Reference in New Issue
Block a user