OSDN Git Service

見栄え
authoryamat0jp <yamat0jp@yahoo.co.jp>
Mon, 10 Sep 2018 08:07:01 +0000 (17:07 +0900)
committeryamat0jp <yamat0jp@yahoo.co.jp>
Mon, 10 Sep 2018 08:07:01 +0000 (17:07 +0900)
bot.py

diff --git a/bot.py b/bot.py
index 6527727..273fef5 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -51,14 +51,9 @@ class WebHookHandler(tornado.web.RequestHandler):
         return ans
     
     def itr(self,item):
-        i = 0
         ans = ''
         for x in item:
-            ans += '*'+x['no']+'*  '
-            if i == 2:
-                ans += '\n'
-                i = 0
-            i += 1
+            ans += '【'+x['no']+'】 '
         return ans
                         
     def post(self):