From cd30b6b60657167acf4317ba700c9da0b7acd2e1 Mon Sep 17 00:00:00 2001 From: codl Date: Fri, 15 Sep 2017 08:51:14 +0200 Subject: [PATCH] fix sentry not showing account info correctly (i hope?) --- model.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/model.py b/model.py index c8c1e0a..eb38917 100644 --- a/model.py +++ b/model.py @@ -151,9 +151,6 @@ class Account(TimestampMixin, RemoteIDMixin): # backref: posts # backref: sessions - def __str__(self): - return f"" - def post_count(self): return Post.query.with_parent(self).count() @@ -183,7 +180,8 @@ class Account(TimestampMixin, RemoteIDMixin): class Account(Account, db.Model): - pass + def __str__(self): + return f"" class OAuthToken(db.Model, TimestampMixin):