diff --git a/comments.py b/comments.py index 3c069d8..da2fd24 100755 --- a/comments.py +++ b/comments.py @@ -35,7 +35,7 @@ html.appendHTML("
"%seed) html.appendHTML("
") html.appendHTML("
") -html.appendHTML("\"Captcha" % base64.b64encode(capt.getvalue()).encode("UTF-8")) +html.appendHTML("\"Captcha" % base64.b64encode(capt.getvalue()).decode("UTF-8")) html.appendHTML("") html.appendHTML("
") count=storage.count("comments-%i"%aid)