summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index 12f3f2e..f069093 100644
--- a/app.py
+++ b/app.py
@@ -236,7 +236,7 @@ class dbProxy(object):
self.conn.commit()
def updateJoke(self, text, objectId):
- self.c.execute("UPDATE " + self.prefix + "_jokes SET text=? WHERE id=?", (text, objectId))
+ self.c.execute("UPDATE " + self.prefix + "_jokes SET text=?, format='markdown' WHERE id=?", (text, objectId))
self.conn.commit()
def removeJoke(self, objectId, user):