From d351e45604f192df6ef710d476a8e529fefa73bf Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 11 Jul 2018 22:04:43 +0800 Subject: update --- cgi-bin/whisper.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cgi-bin/whisper.py') 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 -- cgit v1.1-26-g67d0