From 089e851b4c0e92cf04057db4ad096819269e81cc Mon Sep 17 00:00:00 2001 From: Darks Date: Tue, 3 Dec 2019 16:57:49 +0100 Subject: [PATCH] =?UTF-8?q?Desactiv=C3=A9=20les=20notifs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/users.py b/app/models/users.py index 116ec16..66cb887 100644 --- a/app/models/users.py +++ b/app/models/users.py @@ -227,7 +227,7 @@ class Member(User): def notify(self, message, href=None): """ Notify a user with a message. An hyperlink can be added to redirect to the notification source """ - + return n = Notification(self.id, message, href=href) db.session.add(n) db.session.commit()