Browse Source

style: make changes as per linter

version-14
Sagar Vora 3 years ago
parent
commit
77879933ce
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      frappe/model/meta.py

+ 2
- 3
frappe/model/meta.py View File

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



Loading…
Cancel
Save