Merge pull request #13899 from surajshetty3416/fix-print-format-header

This commit is contained in:
Suraj Shetty 2021-08-10 11:05:35 +05:30 committed by GitHub
commit 1d878199f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,7 +179,7 @@ def prepare_header_footer(soup):
"html_id": html_id,
"css": css,
"lang": frappe.local.lang,
"layout_direction": "rtl" if is_rtl else "ltr"
"layout_direction": "rtl" if is_rtl() else "ltr"
})
# create temp file