From d70138bf239d3d4152be4dec6ae44f97fdc2ae76 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 6913234e1..008b32f5d 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