From bddf9bc2d9cc25a8ab006f865f139e5691850ef7 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Fri, 27 Sep 2024 05:59:35 +0200 Subject: [PATCH] Remove a couple of debug messages. --- wrw/session.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wrw/session.py b/wrw/session.py index 1504d82..08120cb 100644 --- a/wrw/session.py +++ b/wrw/session.py @@ -79,7 +79,6 @@ class session(object): return ret def __setstate__(self, st): - print(st) if isinstance(st, list): # Only for the old session format; remove me in due time. for k, v in st: @@ -93,8 +92,7 @@ class session(object): for item in st["data"]: try: k, v = itemunpickler(io.BytesIO(item), session=self).load() - except Exception as exc: - print(exc) + except Exception: continue self.dict[k] = v if hasattr(v, "sessdirty"): -- 2.11.0