Explorar el Código

fix: Call is_rtl function to get the actual value

version-14
Suraj Shetty hace 3 años
padre
commit
291d7b0f16
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      frappe/utils/pdf.py

+ 1
- 1
frappe/utils/pdf.py Ver fichero

@@ -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


Cargando…
Cancelar
Guardar