Merge pull request #149 from polymorphm/tiny-bugfix--history-balance

command ``history`` fail -- if not transactions
This commit is contained in:
ThomasV 2013-02-22 04:45:27 -08:00
commit 95f23ec1ea
1 changed files with 1 additions and 0 deletions

View File

@ -563,6 +563,7 @@ if __name__ == '__main__':
if cmd == 'history':
import datetime
balance = 0
for item in wallet.get_tx_history():
tx_hash, conf, is_mine, value, fee, balance, timestamp = item
try: