From b1c794a4f9ca9febc1bd5e8874804a56a548007c Mon Sep 17 00:00:00 2001 From: Sagar Vora Date: Fri, 16 Jun 2017 13:50:35 +0530 Subject: [PATCH] [hot] fix global name args is not defined (#9326) --- erpnext/patches/v8_0/create_domain_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v8_0/create_domain_docs.py b/erpnext/patches/v8_0/create_domain_docs.py index 1fa3b29a76c..f04a7e663ce 100644 --- a/erpnext/patches/v8_0/create_domain_docs.py +++ b/erpnext/patches/v8_0/create_domain_docs.py @@ -36,6 +36,6 @@ def execute(): if domain in checked_domains: continue - row = domain_settings.append("active_domains", dict(domain=args.domain)) + row = domain_settings.append("active_domains", dict(domain=domain)) domain_settings.save(ignore_permissions=True) \ No newline at end of file