From d355dbbef49809b53cd4728533fc0ad57589b2b6 Mon Sep 17 00:00:00 2001 From: aarif Date: Wed, 28 Aug 2019 16:34:48 +0500 Subject: [PATCH] python 3 fixes --- common/lib/xmodule/xmodule/contentstore/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/contentstore/content.py b/common/lib/xmodule/xmodule/contentstore/content.py index ed0c4c6ddf..bbfb8fe80e 100644 --- a/common/lib/xmodule/xmodule/contentstore/content.py +++ b/common/lib/xmodule/xmodule/contentstore/content.py @@ -290,7 +290,7 @@ class StaticContent(object): if encode: asset_path = quote_plus(asset_path, '/:+@') - return urlunparse((None, base_url.encode('utf-8'), asset_path, params, urlencode(updated_query_params), None)) + return urlunparse(('', base_url.encode('utf-8'), asset_path, params, urlencode(updated_query_params), '')) def stream_data(self): yield self._data