Ver a proveniência

style: make changes as per linter

version-14
Sagar Vora há 3 anos
ascendente
cometimento
77879933ce
1 ficheiros alterados com 2 adições e 3 eliminações
  1. +2
    -3
      frappe/model/meta.py

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

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



Carregando…
Cancelar
Guardar