fix: remove hardcoding

This commit is contained in:
Faris Ansari 2021-04-22 17:31:34 +05:30
parent aaa165c784
commit 87f3038272

View file

@ -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')