From 2974aa50e3cb4e5d962c4df81e23d8937af9f53c Mon Sep 17 00:00:00 2001 From: Aditya Hase Date: Thu, 24 Aug 2017 17:02:21 +0530 Subject: [PATCH] Fix all implicit relative imports in __init__.py --- frappe/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/__init__.py b/frappe/__init__.py index 541f212942..f009621af6 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -1174,7 +1174,7 @@ def as_json(obj, indent=1): return json.dumps(obj, indent=indent, sort_keys=True, default=json_handler) def are_emails_muted(): - from utils import cint + from frappe.utils import cint return flags.mute_emails or cint(conf.get("mute_emails") or 0) or False def get_test_records(doctype):