diff options
Diffstat (limited to 'searx/engines/digbt.py')
-rw-r--r-- | searx/engines/digbt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/digbt.py b/searx/engines/digbt.py index 2914e9228..ae78f1a9e 100644 --- a/searx/engines/digbt.py +++ b/searx/engines/digbt.py @@ -37,9 +37,9 @@ def response(resp): search_res = dom.xpath('.//td[@class="x-item"]') if not search_res: - return list() + return [] - results = list() + results = [] for result in search_res: url = urljoin(URL, result.xpath('.//a[@title]/@href')[0]) title = extract_text(result.xpath('.//a[@title]')) |