diff options
Diffstat (limited to 'searx/engines/pdbe.py')
-rw-r--r-- | searx/engines/pdbe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/pdbe.py b/searx/engines/pdbe.py index 34c8d3227..a0526057d 100644 --- a/searx/engines/pdbe.py +++ b/searx/engines/pdbe.py @@ -66,14 +66,14 @@ def construct_body(result): year=result['release_year'], ) img_src = pdbe_preview_url.format(pdb_id=result['pdb_id']) - except (KeyError): + except KeyError: content = None img_src = None # construct url for preview image try: img_src = pdbe_preview_url.format(pdb_id=result['pdb_id']) - except (KeyError): + except KeyError: img_src = None return [title, content, img_src] |