From 26be37f6d7bd271d9e7c9f99f54be8dc49921fa2 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 24 Aug 2015 15:53:16 -0700 Subject: [PATCH] WTE: raise the right exception --- WTE/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WTE/plugin.py b/WTE/plugin.py index 285be76..7b19fb0 100644 --- a/WTE/plugin.py +++ b/WTE/plugin.py @@ -39,7 +39,7 @@ import json try: # Python 3 from urllib.parse import urlencode except ImportError: # Python 2 - raise callbacks.Error('This plugin requires Python 3!') + raise ImportError('This plugin requires Python 3!') try: from supybot.i18n import PluginInternationalization