From a74c5906a362bb132aac099fe24c21c32dc5ab9d Mon Sep 17 00:00:00 2001 From: Bobloy Date: Mon, 14 May 2018 13:32:49 -0400 Subject: [PATCH] Optimize imports and reformat --- hangman/hangman.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hangman/hangman.py b/hangman/hangman.py index 4958eac..f47b5da 100644 --- a/hangman/hangman.py +++ b/hangman/hangman.py @@ -2,10 +2,8 @@ from collections import defaultdict from random import randint import discord - -from redbot.core import Config, checks -from redbot.core import commands -from redbot.core.data_manager import cog_data_path, load_basic_configuration +from redbot.core import Config, checks, commands +from redbot.core.data_manager import cog_data_path class Hangman: @@ -26,7 +24,7 @@ class Hangman: lambda: {"running": False, "hangman": 0, "guesses": [], "trackmessage": False, "answer": ''}) self.path = str(cog_data_path(self)).replace('\\', '/') - self.answer_path = self.path+"/bundled_data/hanganswers.txt" + self.answer_path = self.path + "/bundled_data/hanganswers.txt" self.winbool = defaultdict(lambda: False) @@ -331,4 +329,3 @@ class Hangman: await self._reactmessage_menu(message) await self._checkdone(channel) -