From ba082ab516d352598379255e5f4889ab7936d8b6 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Wed, 28 Mar 2018 06:19:49 +0000 Subject: [PATCH] Remove excessive code for gmember admin voting --- webapp/titanembeds/blueprints/admin/admin.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/webapp/titanembeds/blueprints/admin/admin.py b/webapp/titanembeds/blueprints/admin/admin.py index 9f1b5f9..81d5bdd1 100644 --- a/webapp/titanembeds/blueprints/admin/admin.py +++ b/webapp/titanembeds/blueprints/admin/admin.py @@ -406,8 +406,6 @@ def voting_get(): if gmember: break uid = uid + 1 - if not gmember: - uid = u.user_id - 1 all_users.append({ "id": u.id, "user_id": uid,