fix: Change check to avoid issues with empty querysets

This commit is contained in:
Cristian 2020-09-08 11:05:11 -05:00 committed by Cristian Vargas
parent cf18130f85
commit 5348f4735a

View file

@ -582,7 +582,7 @@ def remove(filter_str: Optional[str]=None,
check_data_folder(out_dir=out_dir)
if not snapshots:
if snapshots is None:
if filter_str and filter_patterns:
stderr(
'[X] You should pass either a pattern as an argument, '