From 2c553c57d9110690a63450632a486ede2fd3693f Mon Sep 17 00:00:00 2001 From: "FC (Fay) Stegerman" Date: Thu, 14 Dec 2023 22:19:10 +0100 Subject: [PATCH] really fix cookie test --- jiten/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jiten/app.py b/jiten/app.py index b79e5cb..f30a1d8 100644 --- a/jiten/app.py +++ b/jiten/app.py @@ -156,7 +156,7 @@ ... return sorted( (c.name, c.value) for c in client.cookie_jar ) ... else: ... cookies = [ client.get_cookie(k) for k in PREFS ] -... return sorted( (c.decoded_key, c.decoded_value) for c in cookies ) +... return sorted( (c.key, c.value) for c in cookies if c is not None ) >>> cookies() []