mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-14 14:49:21 +01:00
Math: Move convertcore to the local directory
There's no need to try importing a system-wide copy (for now) as convertcore is our own munging of convertall's code into a form that's easy for us to use. This may change in the future. Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
parent
3fd92e7f24
commit
22da325656
1
plugins/Math/local/__init__.py
Normal file
1
plugins/Math/local/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
# Stub so local is a module, used for third-party modules
|
@ -40,7 +40,7 @@ import supybot.utils as utils
|
||||
from supybot.commands import *
|
||||
import supybot.callbacks as callbacks
|
||||
|
||||
convertcore = utils.python.universalImport('convertcore', 'our_convertcore')
|
||||
convertcore = utils.python.universalImport('local.convertcore')
|
||||
|
||||
baseArg = ('int', 'base', lambda i: i <= 36)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user