pass opts to process_cfg
[hippotat] / hippotatd
index aefa458..ec47c1d 100755 (executable)
--- a/hippotatd
+++ b/hippotatd
@@ -286,7 +286,10 @@ def start_http():
 
 #---------- config and setup ----------
 
-def process_cfg(putative_servers, putative_clients):
+def process_cfg(_opts, putative_servers, putative_clients):
+  global opts
+  opts = _opts
+
   global c
   c = ConfigResults()
   c.server = cfg.get('SERVER','server')