From c129f00ff3ca5236f6e1534188f9b2e4f8a03832 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 19 Nov 2017 23:42:20 -0500 Subject: [PATCH] 80 character per line compliance --- src/main/cogs/booru.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/cogs/booru.py b/src/main/cogs/booru.py index db6fb4c..a82564a 100644 --- a/src/main/cogs/booru.py +++ b/src/main/cogs/booru.py @@ -1404,7 +1404,8 @@ class MsG: await dest.trigger_typing() - self.blacklists['user_blacklist'].setdefault(ctx.author.id, set()).update(tags) + self.blacklists['user_blacklist'].setdefault( + ctx.author.id, set()).update(tags) for tag in tags: alias_request = await u.fetch('https://e621.net/tag_alias/index.json', params={'aliased_to': tag, 'approved': 'true'}, json=True) if alias_request: @@ -1457,7 +1458,8 @@ class MsG: for tag in tags: try: - self.blacklists['guild_blacklist'][guild.id][ctx.channel.id].remove(tag) + self.blacklists['guild_blacklist'][guild.id][ctx.channel.id].remove( + tag) except KeyError: raise exc.TagError(tag) @@ -1478,7 +1480,8 @@ class MsG: for tag in tags: try: - self.blacklists['user_blacklist'][ctx.author.id].remove(tag) + self.blacklists['user_blacklist'][ctx.author.id].remove( + tag) except KeyError: raise exc.TagError(tag)