Skip to content

Commit

Permalink
Simplify value check, re #9648
Browse files Browse the repository at this point in the history
  • Loading branch information
chiatt committed Jun 19, 2023
1 parent 9f0ec2e commit f1c6d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/models/tile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1c6d60

Please sign in to comment.