Skip to content

Commit

Permalink
Merge pull request #1094 from drop-out-dev/patch-1
Browse files Browse the repository at this point in the history
Fix alert message bug
  • Loading branch information
iamdefinitelyahuman authored Jun 11, 2021
2 parents d221fcc + ba7d036 commit 96a3a04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brownie/network/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def _loop(
if value == start_value:
continue
if msg:
msg = msg.format(start_value, value)
print(f"{color('bright red')}ALERT{color}: {msg}")
fmt_msg = msg.format(start_value, value)
print(f"{color('bright red')}ALERT{color}: {fmt_msg}")
if callback:
callback(start_value, value)
start_value = value
Expand Down

0 comments on commit 96a3a04

Please sign in to comment.