mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
fix: Change check to avoid issues with empty querysets
This commit is contained in:
parent
cf18130f85
commit
5348f4735a
1 changed files with 1 additions and 1 deletions
|
@ -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, '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue