Permalink
Browse files

Merge pull request #1 from Haroenv/patch-1

return the result in a code block
  • Loading branch information...
2 parents f2fb6a3 + 479ea88 commit f6531e8bad65c09be779469c3bebdc89a28eccbf @wang502 committed on GitHub Jan 12, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 connection.py
View
@@ -9,7 +9,7 @@
def hello():
q = request.values.get('text')
result = str(db.query(q))
- return result
+ return "```\n"+result+"\n```"
if __name__ == "__main__":
port = int(os.environ.get('PORT', 5000))

0 comments on commit f6531e8

Please sign in to comment.