Well, let address be str()

This commit is contained in:
Oleksii Shevchuk 2017-03-14 08:49:11 +02:00
parent c8d8a9f6f1
commit 465d2c69ce
1 changed files with 1 additions and 0 deletions

View File

@ -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')