OSDN Git Service

head space can read of comment
authoryamat0jp <yamat0jp@yahoo.co.jp>
Sun, 18 Dec 2016 08:52:56 +0000 (17:52 +0900)
committeryamat0jp <yamat0jp@yahoo.co.jp>
Sun, 18 Dec 2016 08:52:56 +0000 (17:52 +0900)
index.py

index 2643b83..6248412 100755 (executable)
--- a/index.py
+++ b/index.py
@@ -128,7 +128,7 @@ class RegistHandler(tornado.web.RequestHandler):
         out = rec['out_words']
         na = self.get_argument('name',u'誰かさん')
         sub = self.get_argument('title',u'タイトルなし')
-        com = self.get_argument('comment')
+        com = self.get_argument('comment',None,False)
         text = ''
         i = 0
         url = []