From 5348f4735ade119b7be35809650f02f8b385f21a Mon Sep 17 00:00:00 2001 From: Cristian Date: Tue, 8 Sep 2020 11:05:11 -0500 Subject: [PATCH] fix: Change check to avoid issues with empty querysets --- archivebox/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/main.py b/archivebox/main.py index 834db258..c2828d25 100644 --- a/archivebox/main.py +++ b/archivebox/main.py @@ -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, '