From 517b059be3acef5fb921d4899c4bc192ffef1b7c Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 6 Sep 2011 13:44:39 +0200 Subject: //Reaktor/IRC: use //Reaktor/public_commands --- Reaktor/IRC/bot2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Reaktor') diff --git a/Reaktor/IRC/bot2.py b/Reaktor/IRC/bot2.py index 0583d329..7365686e 100755 --- a/Reaktor/IRC/bot2.py +++ b/Reaktor/IRC/bot2.py @@ -40,7 +40,8 @@ class IRCBot(SimpleIRCClient): from os.path import realpath, dirname, join from subprocess import Popen as popen, PIPE - public_commands = join(realpath(dirname(__file__)), 'public_commands') + Reaktor_dir = dirname(realpath(dirname(__file__))) + public_commands = join(Reaktor_dir, 'public_commands') command = join(public_commands, _command) if is_executable(command): -- cgit v1.2.3