OSDN Git Service

list get better
authoryamat0jp <yamat0jp@yahoo.co.jp>
Mon, 10 Sep 2018 08:55:44 +0000 (17:55 +0900)
committeryamat0jp <yamat0jp@yahoo.co.jp>
Mon, 10 Sep 2018 08:55:44 +0000 (17:55 +0900)
bot.py

diff --git a/bot.py b/bot.py
index 273fef5..3fab380 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -48,6 +48,7 @@ class WebHookHandler(tornado.web.RequestHandler):
             ans = self.itr(sorted(list1, key=lambda k:k['no']))
         else:
             ans = self.itr(table.find().sort('no'))
+            ans = '-*-glove list-*-\n'+ans
         return ans
     
     def itr(self,item):