Skip to content

Commit

Permalink
adapt to new msg construction
Browse files Browse the repository at this point in the history
  • Loading branch information
KaraMelih committed Oct 4, 2023
1 parent 6d3d680 commit ca77238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snews_pt/auxiliary/try_scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
messages = data[scenario]
for msg in messages: # send one by one and sleep in between
print(msg, "\n\n")
SNEWSMessageBuilder(**msg, firedrill_mode=fd_mode).send_messages()
SNEWSMessageBuilder(**msg).send_messages(firedrill_mode=fd_mode)
time.sleep(1)
# clear cache after each scenario
with Publisher(firedrill_mode=fd_mode, verbose=False) as pub:
Expand Down

0 comments on commit ca77238

Please sign in to comment.