From d243940d60393b7627e0fbbfb8859f84d410d97e Mon Sep 17 00:00:00 2001 From: TOW Date: Wed, 3 Apr 2019 19:35:17 -0300 Subject: Bugfix deleteCookie --- cgi/framework.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/cgi/framework.py b/cgi/framework.py index 651814c..8c43d02 100644 --- a/cgi/framework.py +++ b/cgi/framework.py @@ -361,8 +361,6 @@ def setCookie(self, key, value="", max_age=None, expires=None, path="/", domain= if not domain is None: if domain != "THIS": self._newcookies[key]["domain"] = domain - else: - self._newcookies[key]["domain"] = Settings.DOMAIN if not secure is None: self._newcookies[key]["secure"] = secure -- cgit v1.2.1-18-gbd029