We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4138ca4 commit 1212b27Copy full SHA for 1212b27
ktoolbox/cli.py
@@ -355,10 +355,12 @@ async def sync_creator(
355
creator_path = path / sanitize_filename(creator_name)
356
creator_path.mkdir(exist_ok=True)
357
358
+ keywords = [keywords] if isinstance(keywords, str) else keywords
359
keyword_set = set(keywords) if keywords else config.job.keywords
360
if keywords:
361
logger.info(f"Filtering posts by keywords: {', '.join(keyword_set)}")
362
363
+ keywords_exclude = [keywords_exclude] if isinstance(keywords_exclude, str) else keywords_exclude
364
keyword_exclude_set = set(keywords_exclude) if keywords_exclude else config.job.keywords_exclude
365
if keywords_exclude:
366
logger.info(f"Excluding posts by keywords: {', '.join(keyword_exclude_set)}")
0 commit comments