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:
057350c
)
mistake
author
yamat0jp
<yamat0jp@yahoo.co.jp>
Tue, 11 Sep 2018 21:39:02 +0000
(06:39 +0900)
committer
yamat0jp
<yamat0jp@yahoo.co.jp>
Tue, 11 Sep 2018 21:39:02 +0000
(06:39 +0900)
bot.py
patch
|
blob
|
history
diff --git
a/bot.py
b/bot.py
index
5ba5340
..
53b9198
100644
(file)
--- a/
bot.py
+++ b/
bot.py
@@
-121,7
+121,7
@@
class DummyHandler(tornado.web.RequestHandler):
if len(x) > 0 and x[0] == '@':
dic = {}
dic['name'] = x[1:]
- elif
not
dic:
+ elif dic:
dic['no'] = x
item.append(dic)
table = self.db[name]