WTE: raise the right exception

This commit is contained in:
James Lu 2015-08-24 15:53:16 -07:00
parent e9edceb735
commit 26be37f6d7

View File

@ -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