Revert "fix(setup_global_help): allow utf-8 in filename (#6132)"
This reverts commit a19525e695.
This commit is contained in:
parent
a19525e695
commit
4e4429f169
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ class HelpDatabase(object):
|
|||
|
||||
links_html = "<ol class='index-links'>"
|
||||
for line in files:
|
||||
fpath = os.path.join(os.path.dirname(frappe.safe_decode(original_path)), frappe.safe_decode(line))
|
||||
fpath = os.path.join(os.path.dirname(original_path), line)
|
||||
|
||||
title = self.db.sql('select title from help where path like %s',
|
||||
os.path.join(fpath, 'index') + '%')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue