summaryrefslogtreecommitdiffstats
path: root/phenny
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2015-12-03 03:36:02 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2015-12-03 03:36:02 +0100
commitbe5cc4bdc5ce75fa3896f37601dc97f7602b2a38 (patch)
tree061807b971b75bbb214d1291731e9a2493c3f116 /phenny
parent0d6455e0d1c4655d125b3291caa5612496bae43c (diff)
downloadbot-master.tar.gz
bot-master.tar.bz2
bot-master.zip
Fix mulit-bot modeHEADmaster
Spawn one process for each bot and kill all if one process dies (f.e. on KeyboardInterrupt) or if the parent process (Watcher) gets SIGTERM.
Diffstat (limited to 'phenny')
-rwxr-xr-xphenny4
1 files changed, 1 insertions, 3 deletions
diff --git a/phenny b/phenny
index 6406dda..5188a01 100755
--- a/phenny
+++ b/phenny
@@ -171,9 +171,7 @@ def main(argv=None):
# Step Five: Initialise And Run The Phennies
- # @@ ignore SIGHUP
- for config_module in config_modules:
- run(config_module) # @@ thread this
+ run(config_modules)
if __name__ == '__main__':
main()