diff options
author | Sean B. Palmer <http://inamidst.com/sbp/> | 2008-05-31 11:46:48 +0100 |
---|---|---|
committer | Sean B. Palmer <http://inamidst.com/sbp/> | 2008-05-31 11:46:48 +0100 |
commit | 68f2036546c286bb864dbc2ade251041bf7e6be9 (patch) | |
tree | 739dab7e082b9187674a2cd2ee10afd7c86eae9c /bot.py | |
parent | 87b9866c7c2ebeaa3c1c010176fa3bc24e017300 (diff) | |
download | bot-68f2036546c286bb864dbc2ade251041bf7e6be9.tar.gz bot-68f2036546c286bb864dbc2ade251041bf7e6be9.tar.bz2 bot-68f2036546c286bb864dbc2ade251041bf7e6be9.zip |
Fix for Windows, and some more helpful error messages.
Diffstat (limited to 'bot.py')
-rwxr-xr-x | bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ class Phenny(irc.Bot): name = os.path.basename(filename)[:-3] try: module = imp.load_source(name, filename) except Exception, e: - print >> sys.stderr, "Error loading %s: %s" % (name, e) + print >> sys.stderr, "Error loading %s: %s (in bot.py)" % (name, e) else: if hasattr(module, 'setup'): module.setup(self) |