1
0
Fork 0

fix: oneshot command not running extractors

This commit is contained in:
Cristian 2020-09-24 11:24:34 -05:00 committed by Cristian Vargas
parent 62ed11a5ca
commit 7d3767b882

View file

@ -58,7 +58,7 @@ def get_default_archive_methods():
def ignore_methods(to_ignore: List[str]): def ignore_methods(to_ignore: List[str]):
ARCHIVE_METHODS = get_default_archive_methods() ARCHIVE_METHODS = get_default_archive_methods()
methods = filter(lambda x: x[0] not in to_ignore, ARCHIVE_METHODS) methods = filter(lambda x: x[0] not in to_ignore, ARCHIVE_METHODS)
methods = map(lambda x: x[1], methods) methods = map(lambda x: x[0], methods)
return list(methods) return list(methods)
@enforce_types @enforce_types