Training wheels off

This commit is contained in:
2Shirt 2018-08-19 19:23:24 -07:00
parent ee4cea3b01
commit 1d0378dd7b
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -20,7 +20,7 @@ DDRESCUE_SETTINGS = {
'--data-preview': {'Enabled': True, 'Hidden': True, 'Value': '5'}, '--data-preview': {'Enabled': True, 'Hidden': True, 'Value': '5'},
'--idirect': {'Enabled': True}, '--idirect': {'Enabled': True},
'--odirect': {'Enabled': True}, '--odirect': {'Enabled': True},
'--max-read-rate': {'Enabled': False, 'Value': '32MiB'}, '--max-read-rate': {'Enabled': False, 'Value': '1MiB'},
'--min-read-rate': {'Enabled': True, 'Value': '64KiB'}, '--min-read-rate': {'Enabled': True, 'Value': '64KiB'},
'--reopen-on-error': {'Enabled': True}, '--reopen-on-error': {'Enabled': True},
'--retry-passes': {'Enabled': True, 'Value': '0'}, '--retry-passes': {'Enabled': True, 'Value': '0'},
@ -890,9 +890,7 @@ def run_ddrescue(state, pass_settings):
try: try:
clear_screen() clear_screen()
print_info('Current dev: {}'.format(bp.source_path)) print_info('Current dev: {}'.format(bp.source_path))
ddrescue_proc = popen_program(['./__choose_exit', *cmd]) ddrescue_proc = popen_program(cmd)
# ddrescue_proc = popen_program(['./__exit_ok', *cmd])
# ddrescue_proc = popen_program(cmd)
while True: while True:
bp.update_progress(state.current_pass) bp.update_progress(state.current_pass)
update_sidepane(state) update_sidepane(state)