From 6f761aaeffed47dcdb2bd8059005c6b645ab4024 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Tue, 3 Jul 2018 16:27:42 -0500 Subject: [PATCH] do not have linebreak in own hsaddr --- onionr/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionr/core.py b/onionr/core.py index 95bb9642..a85fda09 100644 --- a/onionr/core.py +++ b/onionr/core.py @@ -55,7 +55,7 @@ class Core: if os.path.exists('data/hs/hostname'): with open('data/hs/hostname', 'r') as hs: - self.hsAdder = hs.read() + self.hsAdder = hs.read().strip() # Load bootstrap address list if os.path.exists(self.bootstrapFileLocation):