summaryrefslogtreecommitdiffstats
path: root/scripts/services.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/services.py')
-rwxr-xr-xscripts/services.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/services.py b/scripts/services.py
index 2486a4a..b41d6a0 100755
--- a/scripts/services.py
+++ b/scripts/services.py
@@ -61,8 +61,8 @@ def handler(req):
# apache.log_error("%s:%s ... %s" % (my_user, my_uri, str(form)))
req.content_type = "text/plain;charset=utf-8"
- content = unicode(content)
- req.write(content.encode('utf-8'))
+ content = unicode(content).encode('utf-8')
+ req.write(content)
return apache.OK