diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2013-07-25 22:37:44 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2015-12-03 03:29:39 +0100 |
commit | bf687718c9bc4bcf80e3ef436f51ff5e992ab618 (patch) | |
tree | 3f8df990618e21b4e310565639688cd9f99924d7 | |
parent | f3b86ed2d5bce85b3b9c27eb949cd88cf7d526bc (diff) | |
download | bot-bf687718c9bc4bcf80e3ef436f51ff5e992ab618.tar.gz bot-bf687718c9bc4bcf80e3ef436f51ff5e992ab618.tar.bz2 bot-bf687718c9bc4bcf80e3ef436f51ff5e992ab618.zip |
fix module home directory
-rwxr-xr-x | bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') |