forked from p34709852/monkey
Agent: Add type hints to VictimHost constructor
This commit is contained in:
parent
29d3cc2aaf
commit
7cb1f761d8
|
@ -1,5 +1,5 @@
|
|||
class VictimHost(object):
|
||||
def __init__(self, ip_addr, domain_name=""):
|
||||
def __init__(self, ip_addr: str, domain_name: str = ""):
|
||||
self.ip_addr = ip_addr
|
||||
self.domain_name = str(domain_name)
|
||||
self.os = {}
|
||||
|
|
Loading…
Reference in New Issue