update instead of append

This commit is contained in:
BlipRanger 2020-12-10 11:08:27 -05:00
parent d9fd1e3811
commit 8b0ff2dfee

View file

@ -148,7 +148,7 @@ class AddView(UserPassesTestMixin, FormView):
"out_dir": OUTPUT_DIR,
}
if extractors:
input_kwargs.append("extractors": extractors)
input_kwargs.update({"extractors": extractors})
add_stdout = StringIO()
with redirect_stdout(add_stdout):
add(**input_kwargs)