From 765a572698dc8172cf8db31fa684e702d6ad631e Mon Sep 17 00:00:00 2001 From: Christopher Goes Date: Tue, 5 Mar 2019 00:03:19 -0700 Subject: Formating and linter fixes --- bot/utils/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bot/utils/__init__.py') diff --git a/bot/utils/__init__.py b/bot/utils/__init__.py index 4cd35d35..ef18a1b9 100644 --- a/bot/utils/__init__.py +++ b/bot/utils/__init__.py @@ -25,7 +25,6 @@ async def disambiguate( :param embed: The embed that the paginator will use. :return: Users choice for correct entry. """ - if len(entries) == 0: raise BadArgument('No matches found.') @@ -77,4 +76,4 @@ async def disambiguate( try: return entries[index - 1] except IndexError: - raise BadArgument('Invalid choice.') \ No newline at end of file + raise BadArgument('Invalid choice.') -- cgit v1.2.3