mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 04:32:36 +01:00
Math: Fix load on Python 3.
This commit is contained in:
parent
b9a46cef21
commit
c0c479a77c
@ -42,7 +42,10 @@ import supybot.callbacks as callbacks
|
|||||||
from supybot.i18n import PluginInternationalization, internationalizeDocstring
|
from supybot.i18n import PluginInternationalization, internationalizeDocstring
|
||||||
_ = PluginInternationalization('Math')
|
_ = 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)
|
baseArg = ('int', 'base', lambda i: i <= 36)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user