aboutsummaryrefslogtreecommitdiff
path: root/servers.py
diff options
context:
space:
mode:
authorTom Ritter <tom@ritter.vg>2020-09-08 00:58:48 -0400
committerTom Ritter <tom@ritter.vg>2020-09-08 00:59:01 -0400
commit625f942d60c2f524f389f945a4e4743e57b9393e (patch)
treea4dc1b960814632363bff3cb4b92013a922943cb /servers.py
parent96242cfb1f65aa406b5f720478cae2046d7c13b5 (diff)
Other python3 fixes
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")