core/Math: Move the math evaluator to src/utils/.

It will be used by ChannelStats.
This commit is contained in:
Valentin Lorentz 2020-01-26 20:42:11 +01:00
parent 5c10bea7aa
commit 99dd6f1506
2 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ from supybot.i18n import PluginInternationalization, internationalizeDocstring
_ = PluginInternationalization('Math') _ = PluginInternationalization('Math')
from .local import convertcore from .local import convertcore
from .evaluator import safe_eval, InvalidNode, SAFE_ENV from supybot.utils.math_evaluator import safe_eval, InvalidNode, SAFE_ENV
baseArg = ('int', 'base', lambda i: i <= 36) baseArg = ('int', 'base', lambda i: i <= 36)