Explorar el Código

style: make changes as per linter

version-14
Sagar Vora hace 3 años
padre
commit
77879933ce
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. +2
    -3
      frappe/model/meta.py

+ 2
- 3
frappe/model/meta.py Ver fichero

@@ -142,9 +142,8 @@ class Meta(Document):

value = [serialize(d) for d in value]

if (
(not no_nulls and value is None)
or isinstance(value, (str, int, float, datetime, list, tuple))
if (not no_nulls and value is None) or isinstance(
value, (str, int, float, datetime, list, tuple)
):
out[key] = value



Cargando…
Cancelar
Guardar