electrum

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

commit 8f3add1e339a27d832fc5a013598622102cea352
parent f2749a744e3706105f0d25f556d904f42cd4df7f
Author: ThomasV <thomasv@gitorious>
Date:   Fri, 24 Apr 2015 23:31:31 +0200

filter out -psn argument

Diffstat:
Melectrum | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/electrum b/electrum @@ -183,9 +183,8 @@ def run_command(cmd, password=None, args=None): if __name__ == '__main__': - #on osx, delete Process Serial Number arg generated for apps launched in Finder - if is_bundle == 'macosx_app' and sys.argv[1][:4] == '-psn': - del sys.argv[1] + # on osx, delete Process Serial Number arg generated for apps launched in Finder + sys.argv = filter(lambda x: not x.startswith('-psn'), sys.argv) wallet = None parser = arg_parser()