chiark / gitweb /
pass opts to process_cfg
[hippotat.git] / hippotatd
index aefa45890a9676b64fa59d2df0b3b229c35dd99a..ec47c1ddee4118218c24a6cdcb528279beb9463b 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')