From c3667e8489c91593d51ff35a2c013cd7bd0eb2c4 Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Thu, 12 Dec 2024 19:24:38 +0000 Subject: [PATCH] Upgrade the code to more recent Python versions --- example/sessions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/sessions.py b/example/sessions.py index 920254fd..3c1dc2da 100644 --- a/example/sessions.py +++ b/example/sessions.py @@ -12,7 +12,7 @@ socketio = SocketIO(app, manage_session=False) -class User(UserMixin, object): +class User(UserMixin): def __init__(self, id=None): self.id = id