diff options
author | 2019-10-28 13:01:47 +0800 | |
---|---|---|
committer | 2019-10-28 13:01:47 +0800 | |
commit | d4ff83e6d2ffdbde4b934c37b24f61a8dc6c4ebb (patch) | |
tree | 7a6c3f8088083a9faf2de5ae3068a878e06a2948 | |
parent | Apply suggestions from code review (diff) |
Fix linting error
-rw-r--r-- | bot/pagination.py | 2 | ||||
-rw-r--r-- | bot/utils/messages.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bot/pagination.py b/bot/pagination.py index 8e3329c4b..a7938fe85 100644 --- a/bot/pagination.py +++ b/bot/pagination.py @@ -397,7 +397,7 @@ class ImagePaginator(Paginator): # Clear reaction press - [:x:] if reaction.emoji == CLEAR_EMOJI: - log.debug("Got clear reaction") + log.debug("Got clear reaction") break # Delete reaction press - [:trashcan:] diff --git a/bot/utils/messages.py b/bot/utils/messages.py index 7ab35257c..022f79599 100644 --- a/bot/utils/messages.py +++ b/bot/utils/messages.py @@ -39,7 +39,7 @@ async def wait_for_deletion( await message.add_reaction(emoji) def check(reaction: Reaction, user: Member) -> bool: - """Check that the deletion emoji is reacted by the appropriate user.""" + """Check that the deletion emoji is reacted by the appropriate user.""" return ( reaction.message.id == message.id and str(reaction.emoji) in deletion_emojis |