fix chud badge not being given
parent
5be668a049
commit
99a44f461c
|
@ -1042,6 +1042,8 @@ def agendaposter(user_id, v):
|
||||||
)
|
)
|
||||||
g.db.add(ma)
|
g.db.add(ma)
|
||||||
|
|
||||||
|
badge_grant(user=user, badge_id=28)
|
||||||
|
|
||||||
if 'reason' in request.values:
|
if 'reason' in request.values:
|
||||||
if request.values["reason"].startswith("/post/"):
|
if request.values["reason"].startswith("/post/"):
|
||||||
try: post = int(request.values["reason"].split("/post/")[1].split(None, 1)[0])
|
try: post = int(request.values["reason"].split("/post/")[1].split(None, 1)[0])
|
||||||
|
|
Loading…
Reference in New Issue