From 0fe9b8fbad6801d244d1df70bbf7bdb1d2c599f9 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 13 Jun 2014 13:18:21 +0200 Subject: update bgt titlebot --- titlebot/titlebot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'titlebot/titlebot.py') diff --git a/titlebot/titlebot.py b/titlebot/titlebot.py index c1eac3b..4171748 100644 --- a/titlebot/titlebot.py +++ b/titlebot/titlebot.py @@ -6,7 +6,7 @@ debug = False # CAVEAT name should not contains regex magic name = 'bgt_titlebot' -workdir = '/tmp/state' +workdir = '/home/titlebot/state' try: mkdir(workdir) @@ -68,7 +68,8 @@ public_commands = [ # identify via direct connect { 'capname': 'identify', 'pattern': '^identify' + '\\s*(?:\\s+(?P.*))?$', - 'argv' : [ 'commands/identify' ]} + 'argv' : [ 'commands/identify' ], + 'env':{'config_filename': config_filename}} ] commands = [ default_command('reload'), -- cgit v1.2.3