do not have linebreak in own hsaddr

This commit is contained in:
Kevin Froman 2018-07-03 16:27:42 -05:00
parent 58110e461e
commit 6f761aaeff
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B

View File

@ -55,7 +55,7 @@ class Core:
if os.path.exists('data/hs/hostname'): if os.path.exists('data/hs/hostname'):
with open('data/hs/hostname', 'r') as hs: with open('data/hs/hostname', 'r') as hs:
self.hsAdder = hs.read() self.hsAdder = hs.read().strip()
# Load bootstrap address list # Load bootstrap address list
if os.path.exists(self.bootstrapFileLocation): if os.path.exists(self.bootstrapFileLocation):