From ac3ba70ed97fb026a24376e1ba9dbfec659fb83e Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 15 May 2014 18:25:57 +0530 Subject: [PATCH] Update global_defaults_to_system_settings.py --- erpnext/patches/v4_0/global_defaults_to_system_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v4_0/global_defaults_to_system_settings.py b/erpnext/patches/v4_0/global_defaults_to_system_settings.py index 761b7612e1..bbed17294e 100644 --- a/erpnext/patches/v4_0/global_defaults_to_system_settings.py +++ b/erpnext/patches/v4_0/global_defaults_to_system_settings.py @@ -14,7 +14,7 @@ def execute(): global_defaults = frappe.db.get_value("Global Defaults", None, ["time_zone", "date_format", "number_format", "float_precision", "session_expiry"], as_dict=True) - if global_defauls: + if global_defaults: for key, val in global_defaults.items(): if not system_settings.get(key): system_settings[key] = val