fix(typo): Let's try executing bound method instead
This commit is contained in:
parent
295d44cee5
commit
88ef41bc58
2 changed files with 2 additions and 1 deletions
|
|
@ -100,4 +100,5 @@ def get_apps():
|
|||
if __name__ == "__main__":
|
||||
if not frappe._dev_server:
|
||||
warnings.simplefilter('ignore')
|
||||
warnings.simplefilter('always')
|
||||
main()
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ def get_context(context):
|
|||
"lastmod": nowdate()
|
||||
})
|
||||
|
||||
for route, data in get_public_pages_from_doctypes().items:
|
||||
for route, data in get_public_pages_from_doctypes().items():
|
||||
links.append({
|
||||
"loc": get_url(quote((route or "").encode("utf-8"))),
|
||||
"lastmod": get_datetime(data.get("modified")).strftime("%Y-%m-%d")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue