mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Math: Fix load on Python 3.
This commit is contained in:
parent
75c3d2fa89
commit
f0e49a0402
@ -42,7 +42,10 @@ import supybot.callbacks as callbacks
|
||||
from supybot.i18n import PluginInternationalization, internationalizeDocstring
|
||||
_ = PluginInternationalization('Math')
|
||||
|
||||
convertcore = utils.python.universalImport('local.convertcore')
|
||||
try:
|
||||
from local import convertcore
|
||||
except ImportError:
|
||||
from .local import convertcore
|
||||
|
||||
baseArg = ('int', 'base', lambda i: i <= 36)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user