From 625f942d60c2f524f389f945a4e4743e57b9393e Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Tue, 8 Sep 2020 00:58:48 -0400 Subject: Other python3 fixes --- servers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servers.py') 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") -- cgit v1.2.3