From 9083be46f74564dcad526fc9cc9dd810351f7e5b Mon Sep 17 00:00:00 2001 From: Maran Date: Wed, 5 Dec 2012 23:04:16 +0100 Subject: [PATCH] There isn't always a tx hash..\? --- lib/gui_lite.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/gui_lite.py b/lib/gui_lite.py index f1c8dadd..e0e26ffa 100644 --- a/lib/gui_lite.py +++ b/lib/gui_lite.py @@ -769,6 +769,9 @@ class MiniActuator: if tx_hash: label, is_default_label = self.wallet.get_label(tx_hash) + else: + label = "" + balance_string = format_satoshis(balance, False, self.wallet.num_zeros) transaction.writerow([tx_hash, label, confirmations, value_string, fee_string, balance_string, time_string]) QMessageBox.information(None,"CSV Export created", "Your CSV export has been succesfully created.")