Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnJyong committed Jun 14, 2024
1 parent 66a73f7 commit 867f17b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/services/website_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def crawl_url(cls, args: dict) -> dict:
}
}
else:
includes = ','.join(options.get('includes')) if options.get('includes') else []
excludes = ','.join(options.get('excludes')) if options.get('excludes') else []
includes = options.get('includes').split(',') if options.get('includes') else []
excludes = options.get('excludes').split(',') if options.get('excludes') else []
params = {
'crawlerOptions': {
"includes": includes if includes else [],
Expand Down

0 comments on commit 867f17b

Please sign in to comment.