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:
Jeremy Fincher 2009-03-09 14:30:45 -05:00 committed by James Vega
parent f539e65b8e
commit d6ad5b051f
2 changed files with 4 additions and 1 deletions

View File

@ -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
try:
import convertcore import convertcore
except ImportError:
import our_convertcore as convertcore
baseArg = ('int', 'base', lambda i: i <= 36) baseArg = ('int', 'base', lambda i: i <= 36)