aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xservers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers.py b/servers.py
index 259127a..1529e0d 100755
--- a/servers.py
+++ b/servers.py
@@ -22,7 +22,7 @@ class StatusSite(resource.Resource):
s = "JobProblem"
request.setResponseCode(200)
- return s
+ return s.encode("utf-8")
class PingSite(resource.Resource):
isLeaf = True
@@ -42,5 +42,5 @@ class PingSite(resource.Resource):
self.statusTracker.markEmailStatus(emailStatus)
request.setResponseCode(200)
- return "OK"
+ return "OK".encode("utf-8")