From 4d4791ab3975d41495d6ad27f2dae0c87b139df5 Mon Sep 17 00:00:00 2001 From: Prateeksha Singh Date: Wed, 1 Aug 2018 16:42:09 +0530 Subject: [PATCH] [chore] remove imports --- erpnext/hub_node/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/erpnext/hub_node/__init__.py b/erpnext/hub_node/__init__.py index 968445829f4..634746caf22 100644 --- a/erpnext/hub_node/__init__.py +++ b/erpnext/hub_node/__init__.py @@ -2,11 +2,7 @@ # For license information, please see license.txt from __future__ import unicode_literals -import frappe, requests, json -from frappe.utils import now, nowdate, cint -from frappe.utils.nestedset import get_root_of -from frappe.frappeclient import FrappeClient -from frappe.contacts.doctype.contact.contact import get_default_contact +import frappe @frappe.whitelist() def enable_hub():