mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Dict: Use normal import (was broken in Python 3.3 for some reason).
This commit is contained in:
parent
a55611a49e
commit
75c3d2fa89
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user