From bf687718c9bc4bcf80e3ef436f51ff5e992ab618 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 25 Jul 2013 22:37:44 +0200 Subject: fix module home directory --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3-1-g7c22