From caae0bacc9f58996a58bb63d158b9703d0de1492 Mon Sep 17 00:00:00 2001 From: Hussain Nagaria Date: Mon, 18 Dec 2023 19:09:45 +0530 Subject: [PATCH] docs: add missing full stop --- frappe/build.py | 2 +- frappe/client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/build.py b/frappe/build.py index 8d66846b57..af9bfce72d 100644 --- a/frappe/build.py +++ b/frappe/build.py @@ -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) ) diff --git a/frappe/client.py b/frappe/client.py index 2d7e765564..028df862c4 100644 --- a/frappe/client.py +++ b/frappe/client.py @@ -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")}