diff --git a/py34/dockid.py b/py34/dockid.py index d4e599c..5bbd54e 100644 --- a/py34/dockid.py +++ b/py34/dockid.py @@ -37,6 +37,6 @@ def is_toodeep(data: BeautifulSoup | str | bytes) -> bool: def is_view(data: BeautifulSoup | str | bytes) -> bool: doc = bs4(data) els = doc.find_all("img", attrs = {"id": "image"}) - if len(els) == 1: - return True - return False + if len(els) == 0: + return False + return True