From 3b9fcf5a208c3b0bf942ea46ed4aa925becbef78 Mon Sep 17 00:00:00 2001 From: curly60e <55191248+curly60e@users.noreply.github.com> Date: Fri, 25 Sep 2020 20:28:20 -0300 Subject: [PATCH] Update PyBlock.py --- PyBlock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PyBlock.py b/PyBlock.py index 1d1a6da..fb3fc68 100644 --- a/PyBlock.py +++ b/PyBlock.py @@ -213,8 +213,8 @@ def countdownblock(): bitcoinclient = path['bitcoincli'] + " getblockcount" block = os.popen(str(bitcoinclient)).read() # 'getblockcount' convert to string b = block - if a == b: - print("#RuningTheNumbers " + a + "PyBLOCK") + if a == int(b): + print("#RuningTheNumbers " + a + " PyBLOCK") input("\nContinue...") break elif n != int(b):