diff --git a/cogs/info.py b/cogs/info.py index 532e72d..88b86e9 100644 --- a/cogs/info.py +++ b/cogs/info.py @@ -9,7 +9,7 @@ from lib import determine_prefix, determine_time from lib import logger -class Bot_info(commands.Cog, name='Bot Info'): +class BotInfo(commands.Cog, name='Bot Info'): def __init__(self, bot): self.bot = bot # defining bot as global var in class @@ -41,4 +41,4 @@ class Bot_info(commands.Cog, name='Bot Info'): def setup(bot): # an extension must have a setup function - bot.add_cog(Bot_info(bot)) # adding a cog + bot.add_cog(BotInfo(bot)) # adding a cog diff --git a/lib/ListGenerator.py b/lib/ListGenerator.py index a0892e9..a91123f 100644 --- a/lib/ListGenerator.py +++ b/lib/ListGenerator.py @@ -79,7 +79,7 @@ class _ListGenerationIter: if self._current_index < self._size: _name = self._list[self._current_index] _path = self._path - _type = self._type + _type = self.type _exc = self._exc self._current_index += 1 memb = _FileAttrs(_name, _path, _type, _exc)