mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
[ui cleanup] [minor]
This commit is contained in:
@@ -20,7 +20,7 @@ def execute():
|
||||
from core.doctype.custom_script.custom_script import make_custom_server_script_file
|
||||
for name, dt, script in webnotes.conn.sql("""select name, dt, script from `tabCustom Script`
|
||||
where script_type='Server'"""):
|
||||
if script.strip():
|
||||
if script and script.strip():
|
||||
try:
|
||||
script = indent_using_tabs(script)
|
||||
make_custom_server_script_file(dt, script)
|
||||
|
||||
Reference in New Issue
Block a user