From bd47f089961eed3dfb69bfad8797efd198ba97f3 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Mon, 3 Sep 2018 21:45:46 -0600 Subject: [PATCH] Removed (Whole) label when imaging * If only one partition was selected it would be incorrectly labeled "Whole" * Easier to remove the label than rework the data structures --- .bin/Scripts/functions/ddrescue.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.bin/Scripts/functions/ddrescue.py b/.bin/Scripts/functions/ddrescue.py index fcdcec17..d3ca8456 100644 --- a/.bin/Scripts/functions/ddrescue.py +++ b/.bin/Scripts/functions/ddrescue.py @@ -1215,10 +1215,6 @@ def update_sidepane(state): for bp in state.block_pairs: if state.source.is_image(): output.append('{BLUE}Image File{CLEAR}'.format(**COLORS)) - elif state.mode == 'image' and len(state.block_pairs) == 1: - output.append('{BLUE}{source} {YELLOW}(Whole){CLEAR}'.format( - source=bp.source_path, - **COLORS)) else: output.append('{BLUE}{source}{CLEAR}'.format( source=bp.source_path,