diff --git a/warcprox/main.py b/warcprox/main.py index 2d6c2e2..574c144 100644 --- a/warcprox/main.py +++ b/warcprox/main.py @@ -168,6 +168,8 @@ def init_controller(args): if args.rethinkdb_servers: svcreg = rethinkstuff.ServiceRegistry(r) + else: + svcreg = None controller = warcprox.controller.WarcproxController(proxy, warc_writer_thread, playback_proxy, service_registry=svcreg,