[odrs-web] trivial: Fix a backtrace when adding a moderator
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web] trivial: Fix a backtrace when adding a moderator
- Date: Fri, 19 Jul 2019 15:57:35 +0000 (UTC)
commit ca555ef96d6089acce0725f22fb421f47b710341
Author: Richard Hughes <richard hughsie com>
Date: Fri Jul 19 16:54:13 2019 +0100
trivial: Fix a backtrace when adding a moderator
app_data/odrs/models.py | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/app_data/odrs/models.py b/app_data/odrs/models.py
index 4406dc2..3d77354 100644
--- a/app_data/odrs/models.py
+++ b/app_data/odrs/models.py
@@ -348,7 +348,6 @@ class Moderator(db.Model):
self.display_name = display_name
self.is_enabled = False
self.is_admin = False
- self.user_id = 0
self.locales = None
self.locales = password
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]