Rename --exclude-id(-file) to --skip-id(-file)

This commit is contained in:
Ali Parlakci
2021-05-16 19:51:31 +03:00
committed by Serene
parent f768a7d61c
commit 200916a150
7 changed files with 11 additions and 11 deletions

View File

@@ -460,8 +460,8 @@ class RedditDownloader:
def _read_excluded_ids(self) -> set[str]:
out = []
out.extend(self.args.exclude_id)
for id_file in self.args.exclude_id_file:
out.extend(self.args.skip_id)
for id_file in self.args.skip_id_file:
id_file = Path(id_file).resolve().expanduser()
if not id_file.exists():
logger.warning(f'ID exclusion file at {id_file} does not exist')