Revert bad PEP fix

This commit is contained in:
Daniel Goldberg 2019-11-24 10:40:33 +02:00
parent af275020cd
commit dae5c789b5
1 changed files with 1 additions and 2 deletions

View File

@ -184,8 +184,7 @@ class InfectionMonkey(object):
if self._default_server:
if self._network.on_island(self._default_server):
machine.set_default_server(get_interface_to_target(machine.ip_addr) +
(
':' + self._default_server_port if self._default_server_port else ''))
(':' + self._default_server_port if self._default_server_port else ''))
else:
machine.set_default_server(self._default_server)
LOG.debug("Default server for machine: %r set to %s" % (machine, machine.default_server))