* fix(unicode): Import unicode_literals in every file * fix(unicode): Test if safe_json_loads return unicode instead of bytes
9 lines
No EOL
303 B
Python
9 lines
No EOL
303 B
Python
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
|
# MIT License. See license.txt
|
|
|
|
from __future__ import unicode_literals
|
|
import frappe
|
|
|
|
def execute():
|
|
frappe.reload_doc("core", "doctype", "system_settings")
|
|
frappe.db.set_value('System Settings', None, "allow_login_after_fail", 60) |