Skip to content

Commit

Permalink
Fix: don't use var before is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Mar 24, 2024
1 parent e7ca8c1 commit dda4fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def scape_markdown(message):

async def send_message_validators(message_base, validators_list, notify):
if len(validators_list) <= 20:
validators_to_notify = validators_str
validators_to_notify = validators_list
message_end = ""
else:
validators_to_notify = islice(validators_list, 20)
Expand Down

0 comments on commit dda4fc7

Please sign in to comment.