commit | 31e5431fe0c7873fc093764058f3ce3addaa3af7 | [log] [tgz] |
---|---|---|
author | Faris Ansari <netchampfaris@users.noreply.github.com> | Fri Sep 14 15:31:35 2018 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Fri Sep 14 15:31:35 2018 +0530 |
tree | 71b9f4d783b73171358c51316dc5b3b8d1622680 | |
parent | 5be3968544e0d39eed72228dbb4900fb53f430c7 [diff] |
fix(urljoin): 2 and 3 compatible (#15401)
diff --git a/erpnext/hub_node/api.py b/erpnext/hub_node/api.py index 0492dde..2356401 100644 --- a/erpnext/hub_node/api.py +++ b/erpnext/hub_node/api.py
@@ -184,7 +184,7 @@ def convert_relative_image_urls_to_absolute(items): - from urlparse import urljoin + from six.moves.urllib.parse import urljoin for item in items: file_path = item['image']