fix(make_content): added missing parameter docsapp

This commit is contained in:
Ameya Shenoy 2018-10-06 17:51:09 +05:30
parent 960d568427
commit 72e5aa57a0

View file

@ -160,7 +160,7 @@ class HelpDatabase(object):
content = frappe.utils.md_to_html(content)
title = self.make_title(basepath, fname, content)
intro = self.make_intro(content)
content = self.make_content(content, fpath, relpath, app)
content = self.make_content(content, fpath, relpath, app, docs_app)
self.db.sql('''INSERT INTO `help`(`path`, `content`, `title`, `intro`, `full_path`)
VALUES (%s, %s, %s, %s, %s)''', (relpath, content, title, intro, fpath))
except jinja2.exceptions.TemplateSyntaxError: