diff options
author | makefu <github@syntax-fehler.de> | 2014-07-08 18:29:19 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2014-07-08 18:29:19 +0200 |
commit | fcf4a7f64463a8190260ab2c138e428f07cadee7 (patch) | |
tree | 938f718f0fffa71493e86ca42afdd0d6596afbcd /Reaktor/titlebot/titlebot.py | |
parent | 033ce69ba717841f5c9834f4680cdd6db625ce4b (diff) | |
parent | da8f9b0ea4c73aa90244f8e9eba4d1f5af9af611 (diff) |
Merge branch 'master' of ssh://github.com/krebscode/painload
Diffstat (limited to 'Reaktor/titlebot/titlebot.py')
-rw-r--r-- | Reaktor/titlebot/titlebot.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Reaktor/titlebot/titlebot.py b/Reaktor/titlebot/titlebot.py index c1eac3b0..41717484 100644 --- a/Reaktor/titlebot/titlebot.py +++ b/Reaktor/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<args>.*))?$', - 'argv' : [ 'commands/identify' ]} + 'argv' : [ 'commands/identify' ], + 'env':{'config_filename': config_filename}} ] commands = [ default_command('reload'), |