diff options
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 |