mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
make sure svcreg is set
This commit is contained in:
parent
248d110f81
commit
3e2696525b
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user