summaryrefslogtreecommitdiff
path: root/gstudio/views/topicadd.py
diff options
context:
space:
mode:
authorgnowgi <nagarjun@gnowledge.org>2012-09-26 08:46:47 -0700
committergnowgi <nagarjun@gnowledge.org>2012-09-26 08:46:47 -0700
commit3ba6b57c6d605262ef9e1f7bba8d62ea20aacc36 (patch)
tree8d77de86b443495d67360dcd40786f2b8208d334 /gstudio/views/topicadd.py
parentcad11e2f7ed848cdfd7779451bb0f4f931e062c3 (diff)
parent94535d4adc3a4960795d22e3b229a8375de10b74 (diff)
downloadgnowsys-3ba6b57c6d605262ef9e1f7bba8d62ea20aacc36.tar.gz
Merge pull request #85 from supriyasawant/master
All modules, wiki, loom, image, document and video libraries integrated.
Diffstat (limited to 'gstudio/views/topicadd.py')
-rw-r--r--gstudio/views/topicadd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gstudio/views/topicadd.py b/gstudio/views/topicadd.py
index 31e780e2..044a374d 100644
--- a/gstudio/views/topicadd.py
+++ b/gstudio/views/topicadd.py
@@ -32,7 +32,7 @@ def topicadd(request):
if not request.POST.get('message', ''):
errors.append('Enter a message.')
if not errors:
- title=unicode(request.POST['subject'])
+ title=request.POST['subject']
content=unicode(request.POST['message'])
idusr=request.POST['idusr']
boolean = make_topic_object(title,int(idusr),content)