Commit 84037752 authored by segfault's avatar segfault
Browse files

Simplify code in electrum wrapper

parent faa409bf
......@@ -65,9 +65,9 @@ def verify_start():
# results 0 == True; 1 == False; 5 == Timeout
results = sh.zenity('--question', '--title', '', '--default-cancel',
'--ok-label', '{}'.format(launch_text),
'--cancel-label', '{}'.format(exit_text),
'--text', '{}'.format(dialog_msg),
'--ok-label', launch_text,
'--cancel-label', exit_text,
'--text', dialog_msg,
_ok_code=[0,1,5])
start = results.exit_code == 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment