OSDN Git Service

no message
authoryamat0jp <yamat0jp@yahoo.co.jp>
Tue, 11 Sep 2018 11:35:01 +0000 (20:35 +0900)
committeryamat0jp <yamat0jp@yahoo.co.jp>
Tue, 11 Sep 2018 11:35:01 +0000 (20:35 +0900)
bot.py

diff --git a/bot.py b/bot.py
index c137446..6216511 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -29,7 +29,7 @@ class WebHookHandler(tornado.web.RequestHandler):
         w = now.weekday()
         if (w < 5)and(t >= 9)and(t < 16):
             return u'仕事中.'
-        table, na = self.users
+        table, na = self.users()
         item = table.find({'no':re.compile(no,re.IGNORECASE)})
         if item.count() == 1:
             x = item[0]