From 5fdd0e8e8bb8a3f369721b87a8f6b428d432f839 Mon Sep 17 00:00:00 2001 From: dipu-bd Date: Fri, 18 Aug 2023 21:37:24 +0400 Subject: [PATCH] Fixes linting issues --- lncrawl/core/sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lncrawl/core/sources.py b/lncrawl/core/sources.py index ec425ae5c..6de16f107 100644 --- a/lncrawl/core/sources.py +++ b/lncrawl/core/sources.py @@ -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"):