fix: remove hardcoding
This commit is contained in:
parent
aaa165c784
commit
87f3038272
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ import frappe
|
|||
from click import secho
|
||||
|
||||
def execute():
|
||||
if frappe.get_hooks('jenv') or True:
|
||||
if frappe.get_hooks('jenv'):
|
||||
print()
|
||||
secho('WARNING: The hook "jenv" is deprecated. Follow the migration guide to use the new "jinja" hook.', fg='yellow')
|
||||
secho('https://github.com/frappe/frappe/wiki/Migrating-to-Version-13', fg='yellow')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue