docs: add missing full stop
This commit is contained in:
parent
8d2137c265
commit
caae0bacc9
2 changed files with 2 additions and 2 deletions
|
|
@ -418,7 +418,7 @@ def scrub_html_template(content):
|
|||
|
||||
|
||||
def html_to_js_template(path, content):
|
||||
"""Return HTML template content as Javascript code, by adding it to `frappe.templates`"""
|
||||
"""Return HTML template content as Javascript code, by adding it to `frappe.templates`."""
|
||||
return """frappe.templates["{key}"] = '{content}';\n""".format(
|
||||
key=path.rsplit("/", 1)[-1][:-5], content=scrub_html_template(content)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -354,7 +354,7 @@ def get_js(items):
|
|||
|
||||
@frappe.whitelist(allow_guest=True)
|
||||
def get_time_zone():
|
||||
"""Return the default time zone"""
|
||||
"""Return the default time zone."""
|
||||
return {"time_zone": frappe.defaults.get_defaults().get("time_zone")}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue