From f1c6d60d0da48090179c63340b9ac9e14132cc91 Mon Sep 17 00:00:00 2001 From: Cyrus Hiatt Date: Mon, 19 Jun 2023 14:01:26 -0700 Subject: [PATCH] Simplify value check, re #9648 --- arches/app/models/tile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arches/app/models/tile.py b/arches/app/models/tile.py index a9b25872faf..314b15a1b31 100644 --- a/arches/app/models/tile.py +++ b/arches/app/models/tile.py @@ -566,7 +566,7 @@ def after_update_all(self): def is_blank(self): if self.data != {}: - if len([item for item in list(self.data.values()) if item is not None]) > 0: + if any(self.data.values()): return False child_tiles_are_blank = True