snappy
parent
c7656d0042
commit
3be895c401
|
@ -1275,7 +1275,7 @@ def submit_post(v, sub=None):
|
||||||
n = Notification(comment_id=c_jannied.id, user_id=v.id)
|
n = Notification(comment_id=c_jannied.id, user_id=v.id)
|
||||||
g.db.add(n)
|
g.db.add(n)
|
||||||
|
|
||||||
if not (post.sub and g.db.query(Exile.user_id).filter_by(user_id=SNAPPY_ID, sub=post.sub)):
|
if not (post.sub and g.db.query(Exile.user_id).filter_by(user_id=SNAPPY_ID, sub=post.sub).one_or_none()):
|
||||||
if post.sub == 'dankchristianmemes':
|
if post.sub == 'dankchristianmemes':
|
||||||
body = random.choice(christian_emojis)
|
body = random.choice(christian_emojis)
|
||||||
elif v.id == CARP_ID:
|
elif v.id == CARP_ID:
|
||||||
|
|
Loading…
Reference in New Issue