diff --git a/chaos_monkey/network/info.py b/chaos_monkey/network/info.py index 605799ce3..e438f37b3 100644 --- a/chaos_monkey/network/info.py +++ b/chaos_monkey/network/info.py @@ -48,7 +48,7 @@ else: def local_ips(): ipv4_nets = get_host_subnets() - valid_ips = [network['addr'] for network in ipv4_nets] + valid_ips = [network['addr'].encode('utf-8').strip() for network in ipv4_nets] return valid_ips