I forgot to .value
This commit is contained in:
parent
155d905898
commit
d77274047c
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ try:
|
|||
username=form["username"].value
|
||||
message=form["message"].value
|
||||
timestamp=int(time.time())
|
||||
data={"name":cgi.escape(form["title"]),"markdown":cgi.escape(message),"author":cgi.escape(username),"date":timestamp}
|
||||
data={"name":cgi.escape(form["title"].value),"markdown":cgi.escape(message),"author":cgi.escape(username),"date":timestamp}
|
||||
storage.append("comments-%i"%aid,data)
|
||||
except KeyError:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue