From 5a5cf895df405ae4eb3d4d9dd87d5c76de66dbbc Mon Sep 17 00:00:00 2001 From: Chris Pahl Date: Tue, 22 Jan 2019 12:07:55 +0100 Subject: [PATCH] gui: fix passing the size option to rmlint (see also #335) --- gui/shredder/runner.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/shredder/runner.py b/gui/shredder/runner.py index a5b1db2f..e8c363de 100644 --- a/gui/shredder/runner.py +++ b/gui/shredder/runner.py @@ -175,9 +175,9 @@ def _create_rmlint_process( min_size, max_size = cfg.get_value('traverse-size-limits') extra_options += [ - '--size', '{a}M-{b}M'.format( - a=min_size // (1024 ** 2), - b=max_size // (1024 ** 2) + '--size', '{a}-{b}'.format( + a=min_size, + b=max_size ) ]