From 4ff6baa279256deaa19ecd4eaba0dcf9e1894cfa Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sun, 22 Apr 2018 18:38:32 -0500 Subject: [PATCH] fixed messed up message for missing bootstrap file --- onionr/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onionr/core.py b/onionr/core.py index 8fb5fd82..78bd6aff 100644 --- a/onionr/core.py +++ b/onionr/core.py @@ -57,8 +57,6 @@ class Core: if os.path.exists('data/hs/hostname'): with open('data/hs/hostname', 'r') as hs: self.hsAdder = hs.read() - else: - logger.warn('Warning: address bootstrap file not found ' + self.bootstrapFileLocation) # Load bootstrap address list if os.path.exists(self.bootstrapFileLocation): @@ -66,6 +64,8 @@ class Core: bootstrap = bootstrap.read() for i in bootstrap.split('\n'): self.bootstrapList.append(i) + else: + logger.warn('Warning: address bootstrap file not found ' + self.bootstrapFileLocation) self._utils = onionrutils.OnionrUtils(self) # Initialize the crypto object