Skip to content

Commit

Permalink
ci: fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed May 6, 2024
1 parent 29b25e2 commit 80df730
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion slack_cleaner2/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def _context(self) -> str:
return str(self.msg)

def _delete_impl(self):
return self._slack.call_rate_limited(lambda: self._slack.client.reactions_remove(self.name, channel=self.msg.channel.id, timestamp=self.msg.ts))
return self._slack.call_rate_limited(lambda: self._slack.client.reactions_remove(name=self.name, channel=self.msg.channel.id, timestamp=self.msg.ts))


class SlackFile:
Expand Down

0 comments on commit 80df730

Please sign in to comment.