mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-27 16:20:05 +02:00
update instead of append
This commit is contained in:
@@ -148,7 +148,7 @@ class AddView(UserPassesTestMixin, FormView):
|
|||||||
"out_dir": OUTPUT_DIR,
|
"out_dir": OUTPUT_DIR,
|
||||||
}
|
}
|
||||||
if extractors:
|
if extractors:
|
||||||
input_kwargs.append("extractors": extractors)
|
input_kwargs.update({"extractors": extractors})
|
||||||
add_stdout = StringIO()
|
add_stdout = StringIO()
|
||||||
with redirect_stdout(add_stdout):
|
with redirect_stdout(add_stdout):
|
||||||
add(**input_kwargs)
|
add(**input_kwargs)
|
||||||
|
Reference in New Issue
Block a user