summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2013-07-25 22:37:44 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2015-12-03 03:29:39 +0100
commitbf687718c9bc4bcf80e3ef436f51ff5e992ab618 (patch)
tree3f8df990618e21b4e310565639688cd9f99924d7
parentf3b86ed2d5bce85b3b9c27eb949cd88cf7d526bc (diff)
downloadbot-bf687718c9bc4bcf80e3ef436f51ff5e992ab618.tar.gz
bot-bf687718c9bc4bcf80e3ef436f51ff5e992ab618.tar.bz2
bot-bf687718c9bc4bcf80e3ef436f51ff5e992ab618.zip
fix module home directory
-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')