From eece8c93fcfdd2b5c82ca87a2d4f15eec9de99ba Mon Sep 17 00:00:00 2001 From: glowingrunes Date: Fri, 3 May 2019 21:35:28 +0100 Subject: Fixed linting error. --- bot/seasons/easter/bunny_name_generator.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bot') diff --git a/bot/seasons/easter/bunny_name_generator.py b/bot/seasons/easter/bunny_name_generator.py index f8d0eea3..5dcbe62f 100644 --- a/bot/seasons/easter/bunny_name_generator.py +++ b/bot/seasons/easter/bunny_name_generator.py @@ -19,9 +19,7 @@ class BunnyNameGenerator(commands.Cog): self.bot = bot def find_separators(self, displayname): - """ - Check if Discord name contains spaces so we can bunnify an individual word in the name. - """ + """Check if Discord name contains spaces so we can bunnify an individual word in the name.""" new_name = re.split(r'[_.\s]', str(displayname)) if displayname not in new_name: -- cgit v1.2.3