Browse Source

filter out -psn argument

283
ThomasV 10 years ago
parent
commit
8f3add1e33
  1. 5
      electrum

5
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()

Loading…
Cancel
Save