Change slots odds and display (#178)
This commit is contained in:
parent
5f34c6e9d2
commit
1f00eb9ed0
5 changed files with 96 additions and 128 deletions
|
@ -563,13 +563,10 @@ def api_comment(v):
|
|||
g.db.add(c)
|
||||
|
||||
slots = Slots(g)
|
||||
slots_check = slots.check_for_slots_command(body, v, c)
|
||||
|
||||
if (slots_check['pulled'] == True):
|
||||
c.slots_result = slots_check['result']
|
||||
g.db.add(c)
|
||||
slots.check_for_slots_command(body, v, c)
|
||||
|
||||
g.db.commit()
|
||||
|
||||
if request.headers.get("Authorization"): return c.json
|
||||
return render_template("comments.html", v=v, comments=[c])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue