GC-4599: fixed depth to int

This commit is contained in:
urihershgc 2015-12-08 09:41:21 +02:00
parent 0ec19578c3
commit 21463211fd
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class ChaosMonkey(object):
self._default_tunnel = opts.tunnel
self._default_server = opts.server
if opts.depth:
WormConfiguration.depth = opts.depth
WormConfiguration.depth = int(opts.depth)
LOG.debug("Selected depth is: %d" % WormConfiguration.depth)
self._keep_running = True
self._network = NetworkScanner()