Browse Source

Fix typo in render.py (#4512)

version-14
ci2014 7 years ago
committed by Faris Ansari
parent
commit
282d3a0b6f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      frappe/website/render.py

+ 2
- 2
frappe/website/render.py View File

@@ -33,7 +33,7 @@ def render(path=None, http_status_code=None):
data = render_page('404')
http_status_code = 404
elif is_static_file(path):
return get_static_file_reponse()
return get_static_file_response()
else:
try:
data = render_page_by_language(path)
@@ -91,7 +91,7 @@ def is_static_file(path):

return False

def get_static_file_reponse():
def get_static_file_response():
try:
f = open(frappe.flags.file_path, 'rb')
except IOError:


Loading…
Cancel
Save