diff service/reasoning/reasoning.py @ 351:7716b1810d6c

reasoning & collector move into docker images Ignore-this: 67e97d307eba96791cbe77e57c57ad57
author drewp@bigasterisk.com
date Mon, 03 Sep 2018 00:45:34 -0700
parents 8db492695a51
children 79d041273e26
line wrap: on
line diff
--- a/service/reasoning/reasoning.py	Mon Apr 16 22:18:49 2018 -0700
+++ b/service/reasoning/reasoning.py	Mon Sep 03 00:45:34 2018 -0700
@@ -14,14 +14,12 @@
 When do we gather? The services should be able to trigger us, perhaps
 with PSHB, that their graph has changed.
 """
-
-
 from crochet import no_setup
 no_setup()
 
-
 import json, time, traceback, sys
 from logging import getLogger, DEBUG, WARN
+sys.path.append('/opt') # docker is putting lib/ here
 
 from colorlog import ColoredFormatter
 from docopt import docopt
@@ -38,7 +36,6 @@
 from inputgraph import InputGraph
 from escapeoutputstatements import unquoteOutputStatements
 
-sys.path.append("../../lib")
 from logsetup import log