summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2013-07-25 22:37:44 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-07-25 22:37:44 +0200
commit1ac7f2d59264c84e1d9b48dedc850ba65c894bd0 (patch)
tree920108508645796ae0252d60c9d5b80d40099c69
parent2704ff4840fca1a07fd7f32775b8b9d4b7a3a13b (diff)
downloadbot-2_git91.tar.gz
bot-2_git91.tar.bz2
bot-2_git91.zip
fix module home directory2_git91
-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')