Skip to content

Commit a04dbe3

Browse files
chore (slackbot.py): fix linting error
Remove unused var
1 parent 669c4b3 commit a04dbe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/core/slackbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def main(override=bypass_schedule):
125125
# Only send messages if we have events
126126
if messages:
127127
# send message as one concatenated string
128-
for channel_name, channel_id in channels.items():
128+
for _, channel_id in channels.items():
129129
send_message('\n'.join(messages), channel_id)
130130
print(f"Posted {len(messages)} events to {len(channels)} channels")
131131
else:

0 commit comments

Comments
 (0)