Skip to content

Commit

Permalink
ommit empty styles
Browse files Browse the repository at this point in the history
  • Loading branch information
cleder committed Jan 4, 2024
1 parent ac2acb1 commit 53661f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastkml/styles.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ def __repr__(self) -> str:
)

def __bool__(self) -> bool:
return bool(self.styles)
return any(self.styles)

def append_style(
self,
Expand Down

0 comments on commit 53661f0

Please sign in to comment.