From 2d41107372b80703efe8b45857eaabfa49c7da8e Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sat, 27 Jan 2018 20:29:45 -0600 Subject: [PATCH] fixed requirements.txt and unsaved block message --- onionr/core.py | 3 ++- requirements.txt | 11 +++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/onionr/core.py b/onionr/core.py index 90a3d89a..e52359c0 100644 --- a/onionr/core.py +++ b/onionr/core.py @@ -286,7 +286,8 @@ class Core: This is meant to be called from the communicator daemon on its timer. ''' for i in self.getBlockList(True).split("\n"): - print('UNSAVED BLOCK:', i) + if i != "": + print('UNSAVED BLOCK:', i) return def getPeerInfo(self, peer, info): ''' diff --git a/requirements.txt b/requirements.txt index ed2f5b23..dfc6f418 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,10 @@ -simple_crypt==4.1.7 -requests==2.18.4 PyNaCl==1.2.1 -Flask==0.12.2 -pycrypto==2.6.1 gnupg==2.3.1 +Flask==0.12.2 +requests==2.18.4 +urllib3==1.22 +simple_crypt==4.1.7 sha3==0.2.1 +pycrypto==2.6.1 +nacl==0.0.0 +socks==0.0.0