mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-10 18:49:59 +01:00
Merge branch 'develop' into develop
This commit is contained in:
commit
ee6095cf15
2
.github/workflows/run_pytest.yml
vendored
2
.github/workflows/run_pytest.yml
vendored
|
|
@ -8,7 +8,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||
python-version: [3.7, 3.8, 3.9, 3.10.2]
|
||||
runs-on: ${{matrix.os}}
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue