Commit ecd9b7f2 authored by segfault's avatar segfault
Browse files

Simplify code in tails-upgrade-frontend-wrapper

parent b0f473c1
......@@ -76,7 +76,7 @@ def error(msg):
dialog_text = '''<b><big>{}</big></b>\n\n{}'''.format(gettext('Error'), msg)
print(cli_text, file=sys.stderr)
sh.zenity('--error', '--title', "", '--text', '{}'.format(dialog_text), _ok_code=[0,1,5])
sh.zenity('--error', '--title', "", '--text', dialog_text, _ok_code=[0,1,5])
sys.exit(1)
......
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