Commit 1e26ad2b authored by Romain Courteaud's avatar Romain Courteaud

Report bot status

parent 30810042
def reportStatus(db):
return db.Status.select().order_by(db.Status.id.desc()).limit(1)
def logStatus(db, text): def logStatus(db, text):
return db.Status.create(text=text).id return db.Status.create(text=text).id
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment