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):