Skip to content

Commit 14352f8

Browse files
committed
main.py: Fix derp
Signed-off-by: Hector Martin <[email protected]>
1 parent 766599c commit 14352f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def get_size(self, prompt, default=None, min=None, max=None, total=None):
8585
new_size = default
8686
if new_size.lower() == "min" and min is not None:
8787
val = min
88-
if new_size.lower() == "max" and max is not None:
88+
elif new_size.lower() == "max" and max is not None:
8989
val = max
9090
elif new_size.endswith("%") and total is not None:
9191
val = int(float(new_size[:-1]) * total / 100)

0 commit comments

Comments
 (0)