OSDN Git Service
(root)
/
simple-tornado-bot
/
simple-tornado-bot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94fe042
)
見栄え
author
yamat0jp
<yamat0jp@yahoo.co.jp>
Mon, 10 Sep 2018 08:07:01 +0000
(17:07 +0900)
committer
yamat0jp
<yamat0jp@yahoo.co.jp>
Mon, 10 Sep 2018 08:07:01 +0000
(17:07 +0900)
bot.py
patch
|
blob
|
history
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):