electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit aa7f056d02c62590cbac2a8e64e310571c5b46bb
parent 53a3f00389a32e7c6ad0fbe4b5e224bee2229def
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 31 May 2015 08:36:12 +0200

minor fix: sys.argv length

Diffstat:
Melectrum | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum b/electrum @@ -364,7 +364,7 @@ if __name__ == '__main__': sys.argv = filter(lambda x: not x.startswith('-psn'), sys.argv) # old 'help' syntax - if sys.argv[1] == 'help': + if len(sys.argv)>1 and sys.argv[1] == 'help': sys.argv.remove('help') sys.argv.append('-h')