mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-28 16:50:01 +02:00
fix: Change check to avoid issues with empty querysets
This commit is contained in:
committed by
Cristian Vargas
parent
cf18130f85
commit
5348f4735a
@@ -582,7 +582,7 @@ def remove(filter_str: Optional[str]=None,
|
|||||||
|
|
||||||
check_data_folder(out_dir=out_dir)
|
check_data_folder(out_dir=out_dir)
|
||||||
|
|
||||||
if not snapshots:
|
if snapshots is None:
|
||||||
if filter_str and filter_patterns:
|
if filter_str and filter_patterns:
|
||||||
stderr(
|
stderr(
|
||||||
'[X] You should pass either a pattern as an argument, '
|
'[X] You should pass either a pattern as an argument, '
|
||||||
|
Reference in New Issue
Block a user