tminor fix: sys.argv length - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit aa7f056d02c62590cbac2a8e64e310571c5b46bb DIR parent 53a3f00389a32e7c6ad0fbe4b5e224bee2229def HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 31 May 2015 08:36:12 +0200 minor fix: sys.argv length Diffstat: M electrum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum b/electrum t@@ -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')