plugin manhole: fixed default value

This commit is contained in:
Goffi 2019-12-06 15:19:31 +01:00
commit c01889f16c

View file

@ -45,7 +45,7 @@ class Manhole(object):
def __init__(self, host):
self.host = host
port = int(host.memory.getConfig(None, "manhole_debug_dangerous_port_int"))
port = int(host.memory.getConfig(None, "manhole_debug_dangerous_port_int", 0))
if port:
self.startManhole(port)