Dict: Use normal import (was broken in Python 3.3 for some reason).

This commit is contained in:
Valentin Lorentz 2013-04-27 18:18:38 +02:00
parent a82b6dabec
commit d70138bf23

View File

@ -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 <http://quux.org:70/devel/dictclient>'
from local import dictclient
class Dict(callbacks.Plugin):
threaded = True