Fixed menu_main() arguments
This commit is contained in:
parent
5ac05c943e
commit
5948d1a62f
1 changed files with 1 additions and 1 deletions
|
|
@ -658,7 +658,7 @@ def menu_ddrescue(source_path, dest_path, run_mode):
|
||||||
run_program(['tmux', 'kill-window'])
|
run_program(['tmux', 'kill-window'])
|
||||||
exit_script()
|
exit_script()
|
||||||
|
|
||||||
def menu_main(source, dest):
|
def menu_main(state):
|
||||||
"""Main menu is used to set ddrescue settings."""
|
"""Main menu is used to set ddrescue settings."""
|
||||||
title = '{GREEN}ddrescue TUI: Main Menu{CLEAR}\n\n'.format(**COLORS)
|
title = '{GREEN}ddrescue TUI: Main Menu{CLEAR}\n\n'.format(**COLORS)
|
||||||
title += '{BLUE}Current pass: {CLEAR}'.format(**COLORS)
|
title += '{BLUE}Current pass: {CLEAR}'.format(**COLORS)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue