fix: pass path in hooks instead of function

This commit is contained in:
Jannat Patel
2021-12-20 10:04:50 +05:30
parent 067be4973d
commit 4edf4936c1
2 changed files with 2 additions and 6 deletions

View File

@@ -109,8 +109,3 @@ def youtube_video_renderer(video_id):
def video_renderer(src):
return "<video controls width='100%'><source src={0} type='video/mp4'></video>".format(src)
def show_custom_signup():
if frappe.db.get_single_value("LMS Settings", "verify_age"):
return "school/templates/signup-form.html"
return None