diff options
author | chai <chaifix@163.com> | 2018-07-11 22:04:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-07-11 22:04:43 +0800 |
commit | d351e45604f192df6ef710d476a8e529fefa73bf (patch) | |
tree | 4ca90a281ecd7ec89f1b010092aa0f5aeec06910 /cgi-bin/whisper.py | |
parent | 1275e68efa680e55fd29a377c9c58c59bb7f235e (diff) |
update
Diffstat (limited to 'cgi-bin/whisper.py')
-rw-r--r-- | cgi-bin/whisper.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cgi-bin/whisper.py b/cgi-bin/whisper.py index a6a1437..aec20b6 100644 --- a/cgi-bin/whisper.py +++ b/cgi-bin/whisper.py @@ -8,10 +8,12 @@ whisper_templ = whisper_file.read() whisper_file.close() class Whisper(object): - def build(_content, _date, _odd): + def build(_id, _content, _date, _odd, _url): whisper = whisper_templ.format(\ oddoreven=((_odd == True) and "odd" or "even"),\ content=_content,\ - date=_date\ + date=_date,\ + url=_url,\ + id=_id\ ) return whisper |