aboutsummaryrefslogtreecommitdiff
path: root/servers.py
diff options
context:
space:
mode:
Diffstat (limited to 'servers.py')
-rwxr-xr-xservers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers.py b/servers.py
index 1529e0d..0a5d1ce 100755
--- a/servers.py
+++ b/servers.py
@@ -31,7 +31,7 @@ class PingSite(resource.Resource):
self.statusTracker = statusTracker
def render_POST(self, request):
self.statusTracker.markJobRan()
- emailStatus = request.content.read()
+ emailStatus = request.content.read().decode("utf-8")
emailStatus = "True" in emailStatus
logging.debug("Got notification of jobs ran")