summaryrefslogtreecommitdiffstats
path: root/bot.py
diff options
context:
space:
mode:
authorSean B. Palmer <http://inamidst.com/sbp/>2008-05-31 11:46:48 +0100
committerSean B. Palmer <http://inamidst.com/sbp/>2008-05-31 11:46:48 +0100
commit68f2036546c286bb864dbc2ade251041bf7e6be9 (patch)
tree739dab7e082b9187674a2cd2ee10afd7c86eae9c /bot.py
parent87b9866c7c2ebeaa3c1c010176fa3bc24e017300 (diff)
downloadbot-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-xbot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.py b/bot.py
index 37f892c..0ba11d6 100755
--- a/bot.py
+++ b/bot.py
@@ -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)