mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Dict: Use normal import (was broken in Python 3.3 for some reason).
This commit is contained in:
parent
a82b6dabec
commit
d70138bf23
@ -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