summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-01-08 15:00:28 -0300
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-01-08 15:00:28 -0300
commit502c85a03b0efab9b1ab93ff2880ffa4fc1897d9 (patch)
tree9c229a17d3029a9640ecdd2b18164eb7bf2ca0d7
parent616585cec22c9f9d457dc92bb7fe2c04b63dde65 (diff)
downloadaskbot-502c85a03b0efab9b1ab93ff2880ffa4fc1897d9.tar.gz
askbot-502c85a03b0efab9b1ab93ff2880ffa4fc1897d9.tar.bz2
askbot-502c85a03b0efab9b1ab93ff2880ffa4fc1897d9.zip
fixed a bug in the answer posting
-rw-r--r--askbot/models/post.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/models/post.py b/askbot/models/post.py
index cec88f1a..0446a0ca 100644
--- a/askbot/models/post.py
+++ b/askbot/models/post.py
@@ -243,7 +243,7 @@ class PostManager(BaseQuerySetManager):
author = author,
revised_at = added_at,
text = text,
- comment = const.POST_STATUS['default_version'],
+ comment = unicode(const.POST_STATUS['default_version']),
by_email = by_email
)