command ``history`` fail -- if not transactions

we see that like this:

    $ ./electrum history
    Connected to electrum.bitcoin.cz:50001
    Traceback (most recent call last):
      File "./electrum", line 578, in <module>
        print_msg("# balance: ", format_satoshis(balance))

thanks in advance!