fds
This commit is contained in:
parent
dfba88b4fc
commit
c6c47b427e
6 changed files with 13 additions and 13 deletions
|
@ -58,7 +58,7 @@ def ghost_price(v):
|
|||
|
||||
def submit_ghost(v,db):
|
||||
ghost = db.query(AwardRelationship.id).filter(
|
||||
AwardRelationship.kind == 'ghosts',
|
||||
AwardRelationship.kind == 'ghost',
|
||||
AwardRelationship.user_id == v.id,
|
||||
AwardRelationship.submission_id == None,
|
||||
AwardRelationship.comment_id == None
|
||||
|
@ -1126,7 +1126,7 @@ def submit_post(v, sub=None):
|
|||
if request.values.get('ghost'):
|
||||
|
||||
ghost_award = g.db.query(AwardRelationship).filter(
|
||||
AwardRelationship.kind == 'ghosts',
|
||||
AwardRelationship.kind == 'ghost',
|
||||
AwardRelationship.user_id == v.id,
|
||||
AwardRelationship.submission_id == None,
|
||||
AwardRelationship.comment_id == None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue