mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fix math to be capable of using externally-installed third-party packages, while still providing them for people who don't have them externally installed.
This commit is contained in:
parent
f539e65b8e
commit
d6ad5b051f
@ -40,7 +40,10 @@ import supybot.utils as utils
|
|||||||
from supybot.commands import *
|
from supybot.commands import *
|
||||||
import supybot.callbacks as callbacks
|
import supybot.callbacks as callbacks
|
||||||
|
|
||||||
import convertcore
|
try:
|
||||||
|
import convertcore
|
||||||
|
except ImportError:
|
||||||
|
import our_convertcore as convertcore
|
||||||
|
|
||||||
baseArg = ('int', 'base', lambda i: i <= 36)
|
baseArg = ('int', 'base', lambda i: i <= 36)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user