From 75c3d2fa89833011e4d31c22304a6d1ada422f5b Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 27 Apr 2013 18:18:38 +0200 Subject: [PATCH] Dict: Use normal import (was broken in Python 3.3 for some reason). --- plugins/Dict/plugin.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/plugins/Dict/plugin.py b/plugins/Dict/plugin.py index ca6bfb526..a1fff5a00 100644 --- a/plugins/Dict/plugin.py +++ b/plugins/Dict/plugin.py @@ -40,12 +40,7 @@ _ = PluginInternationalization('Dict') import random -try: - dictclient = utils.python.universalImport('dictclient', 'local.dictclient') -except ImportError: - raise callbacks.Error, \ - 'You need to have dictclient installed to use this plugin. ' \ - 'Download it at ' +from local import dictclient class Dict(callbacks.Plugin): threaded = True