mirror of https://github.com/n1nj4sec/pupy.git
Well, let address be str()
This commit is contained in:
parent
c8d8a9f6f1
commit
465d2c69ce
|
@ -66,6 +66,7 @@ class PupyServer(threading.Thread):
|
|||
|
||||
if self.address:
|
||||
self.ipv6 = self.address.version == 6
|
||||
self.address = str(self.address)
|
||||
else:
|
||||
self.ipv6 = self.config.getboolean('pupyd', 'ipv6')
|
||||
|
||||
|
|
Loading…
Reference in New Issue