From 101f74ce294e44320b1689a278d89e527ade16c6 Mon Sep 17 00:00:00 2001 From: Artem Frolov Date: Sat, 29 Jun 2024 09:56:49 +0300 Subject: [PATCH] Update util.py --- cookie_consent/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookie_consent/util.py b/cookie_consent/util.py index e75fbac..76ee74c 100644 --- a/cookie_consent/util.py +++ b/cookie_consent/util.py @@ -18,7 +18,7 @@ def parse_cookie_str(cookie): def dict_to_cookie_str(dic): - return "|".join(["%s=%s" % (k, v) for k, v in dic.items() if v]) + return "|".join(["%s=%s" % (k, v) for k, v in dic.items()]) def get_cookie_dict_from_request(request):