From 31e5431fe0c7873fc093764058f3ce3addaa3af7 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Fri, 14 Sep 2018 15:31:35 +0530 Subject: [PATCH] fix(urljoin): 2 and 3 compatible (#15401) --- erpnext/hub_node/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/hub_node/api.py b/erpnext/hub_node/api.py index 0492dde527..23564010e7 100644 --- a/erpnext/hub_node/api.py +++ b/erpnext/hub_node/api.py @@ -184,7 +184,7 @@ def item_sync_postprocess(): 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']