Skip to content

Commit

Permalink
gui: fix passing the size option to rmlint (see also #335)
Browse files Browse the repository at this point in the history
  • Loading branch information
sahib committed Jan 22, 2019
1 parent 5ec7928 commit 5a5cf89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gui/shredder/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
]

Expand Down

0 comments on commit 5a5cf89

Please sign in to comment.