Skip to content

Commit 973ba19

Browse files
authored
Merge pull request #18 from shaib/patch-1
Fix python 3 support
2 parents 5eeff27 + 87d672c commit 973ba19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

supervisor_stdout.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def main():
1818
write_stdout('RESULT %s\n%s'%(len(data.encode("utf-8")), data)) # transition from READY to ACKNOWLEDGED
1919

2020
def event_handler(event, response):
21+
response = response.decode()
2122
line, data = response.split('\n', 1)
2223
headers = dict([ x.split(':') for x in line.split() ])
2324
lines = data.split('\n')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy