mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 14:40:51 +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
|
import random
|
||||||
|
|
||||||
try:
|
from local import dictclient
|
||||||
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>'
|
|
||||||
|
|
||||||
class Dict(callbacks.Plugin):
|
class Dict(callbacks.Plugin):
|
||||||
threaded = True
|
threaded = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user