Skip to content

Commit

Permalink
Fix "stringified" None values
Browse files Browse the repository at this point in the history
  • Loading branch information
Famlam authored and frodrigo committed Jun 30, 2023
1 parent 9b2c338 commit ad22c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapcss/mapcss_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def count(lst):
# returns the first object which is not null (formerly coalesce, [since 7164])
def any_(*args):
if args is not None:
return next(item for item in args if item is not None)
return next(item for item in args if item is not None and (not isinstance(item, str_value_) or not item.none))

#concat(str1, str2, ...)
# assemble the strings to one
Expand Down

0 comments on commit ad22c21

Please sign in to comment.