commit f9de19bd78ddf29b58cb62eae02dbb22cb8bc0c4
parent 7148e1a28718f77ff1654ae15a605924256ff3be
Author: ThomasV <electrumdev@gmail.com>
Date: Mon, 20 Apr 2015 12:10:50 +0200
Merge pull request #1142 from ptrcarta/master
delete -psn arg on osx, fixes #1080
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/electrum b/electrum
@@ -183,6 +183,10 @@ 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]
+
wallet = None
parser = arg_parser()
options, args = parser.parse_args()