summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.py b/bot.py
index 66a88b2..19d8a64 100755
--- a/bot.py
+++ b/bot.py
@@ -10,7 +10,7 @@ http://inamidst.com/phenny/
import sys, os, re, threading, imp
import irc
-home = os.getcwd()
+home = os.path.dirname(__file__)
def decode(bytes):
try: text = bytes.decode('utf-8')