Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
dipu-bd committed Aug 18, 2023
2 parents ebcf71d + 5fdd0e8 commit 989e014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lncrawl/core/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def __import_crawlers(file_path: Path) -> List[Type[Crawler]]:
crawlers = []
for key in dir(module):
crawler = getattr(module, key)
if type(crawler) != type(Crawler) or not issubclass(crawler, Crawler):
if type(crawler) is not type(Crawler) or not issubclass(crawler, Crawler):
continue

if crawler.__dict__.get("is_template"):
Expand Down

0 comments on commit 989e014

Please sign in to comment.