fix(make_content): added missing parameter docsapp
This commit is contained in:
parent
960d568427
commit
72e5aa57a0
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue