seitime-frappe/frappe/patches/v13_0/enable_custom_script.py
Suraj Shetty c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30

14 lines
247 B
Python

# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE
import frappe
def execute():
"""Enable all the existing Client script"""
frappe.db.sql(
"""
UPDATE `tabClient Script` SET enabled=1
"""
)