From 0ed56990219a68b83d4e5d21dd0796fb5797b105 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 1 May 2012 11:02:42 +0200 Subject: [PATCH] fix: display balance of unused addresses --- watch_address | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watch_address b/watch_address index d6146f89..9d7b3816 100755 --- a/watch_address +++ b/watch_address @@ -18,7 +18,7 @@ while True: elif method == 'blockchain.address.get_history': confirmed = unconfirmed = 0 h = r.get('result') - if not h: + if h is None: continue for item in h: v = item['value']