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:
6e175d9
)
error proc
author
yamat0jp
<yamat0jp@yahoo.co.jp>
Tue, 11 Sep 2018 21:35:53 +0000
(06:35 +0900)
committer
yamat0jp
<yamat0jp@yahoo.co.jp>
Tue, 11 Sep 2018 21:35:53 +0000
(06:35 +0900)
bot.py
patch
|
blob
|
history
diff --git
a/bot.py
b/bot.py
index
e1a8d69
..
de4ae86
100644
(file)
--- a/
bot.py
+++ b/
bot.py
@@
-120,7
+120,7
@@
class DummyHandler(tornado.web.RequestHandler):
if len(x) > 0 and x[0] == '@':
dic = {}
dic['name'] = x[1:]
- elif
'name' in dic.keys()
:
+ elif
not dic
:
dic['no'] = x
item.append(dic)
table = self.db[name]