mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +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
|
||||
_ = 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