]> git.mxchange.org Git - fba.git/blobdiff - fba/helpers/cookies.py
Continued:
[fba.git] / fba / helpers / cookies.py
index 15f4fc77f1ea08295d773fc0ccc52ac8c37a7a1f..b23e644a38802ad51b4281dce8a4ea89db4b84e0 100644 (file)
@@ -44,8 +44,7 @@ def get_all(domain: str) -> dict:
 
     if blacklist.is_blacklisted(domain):
         raise ValueError(f"domain='{domain}' is blacklisted but function was invoked")
-
-    if domain not in _cookies:
+    elif domain not in _cookies:
         return dict()
 
     logger.debug("_cookies[%s]()=%d - EXIT!", domain, len(_cookies[domain]))