From 21a729d95a26f8a8d8251bfe0d7d3f092a4c8a18 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 29 Sep 2017 15:50:58 -0700 Subject: [PATCH] Math.convertcore: remove useless try/except clause --- plugins/Math/plugin.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/Math/plugin.py b/plugins/Math/plugin.py index 293f3acc8..2c441ac5b 100644 --- a/plugins/Math/plugin.py +++ b/plugins/Math/plugin.py @@ -43,10 +43,7 @@ import supybot.callbacks as callbacks from supybot.i18n import PluginInternationalization, internationalizeDocstring _ = PluginInternationalization('Math') -try: - from .local import convertcore -except ImportError: - from .local import convertcore +from .local import convertcore baseArg = ('int', 'base', lambda i: i <= 36)