Browse Source

[cli] fix error thrown if not enabling manhole

pull/38/head
andrei 8 years ago
parent
commit
d7641ce1c0
  1. 2
      disco/cli.py

2
disco/cli.py

@ -51,6 +51,7 @@ def disco_main(run=False):
config = ClientConfig()
config.manhole_enable = args.manhole
if config.manhole_enable:
config.manhole_bind = args.manhole_bind.split(':', 1)
for k, v in six.iteritems(vars(args)):
@ -92,5 +93,6 @@ def disco_main(run=False):
return (bot or client)
if __name__ == '__main__':
disco_main(True)

Loading…
Cancel
Save