Fixed menu_main() arguments

This commit is contained in:
2Shirt 2018-08-15 22:50:47 -07:00
parent 5ac05c943e
commit 5948d1a62f
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -658,7 +658,7 @@ def menu_ddrescue(source_path, dest_path, run_mode):
run_program(['tmux', 'kill-window'])
exit_script()
def menu_main(source, dest):
def menu_main(state):
"""Main menu is used to set ddrescue settings."""
title = '{GREEN}ddrescue TUI: Main Menu{CLEAR}\n\n'.format(**COLORS)
title += '{BLUE}Current pass: {CLEAR}'.format(**COLORS)