Skip to content

Commit

Permalink
Merge branch 'develop' into feature/ISSUE-67
Browse files Browse the repository at this point in the history
  • Loading branch information
Schrolli91 authored Feb 17, 2022
2 parents 403699e + 174f3dc commit f069567
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions boswatch/wildcard.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ def replaceWildcards(message, bwPacket):
if field is not None:
message = message.replace(wildcard, field)

for wildcard, field in _additionalWildcards.items():
for wildcard, fieldName in _additionalWildcards.items():
field = bwPacket.get(fieldName)
if field is not None:
message = message.replace(wildcard, bwPacket.get(field))
message = message.replace(wildcard, field)

return message

0 comments on commit f069567

Please sign in to comment.