diff --git a/files/routes/users.py b/files/routes/users.py index 1755c6ec17..288117e4fc 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -646,6 +646,8 @@ def unfollow_user(username, v): target = get_user(username) + if target.id == 995: abort(403) + # check for existing follow follow = g.db.query(Follow).options(lazyload('*')).filter_by(user_id=v.id, target_id=target.id).first() diff --git a/files/templates/default.html b/files/templates/default.html index dc2844490d..406c7f9c15 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -6,7 +6,7 @@ {% if v and v.agendaposter %} - - + {% set minbugs = 10*p.award_count("shit") if p.award_count("shit") < 3 else 20 %} {% set maxbugs = 20*p.award_count("shit") if p.award_count("shit") < 3 else 40 %} - + {% set minbugs = 10*p.award_count("fireflies") if p.award_count("fireflies") < 3 else 20 %} {% set maxbugs = 20*p.award_count("fireflies") if p.award_count("fireflies") < 3 else 40 %} -