Skip to content

Commit

Permalink
Fix fogleman#2 for server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rswinkle committed Dec 20, 2020
1 parent 3c06971 commit 292c2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def run(self):
except queue.Empty:
continue
data = ''.join(buf)
self.request.sendall(data)
self.request.sendall(bytes(data, 'utf-8'))
except Exception:
self.request.close()
raise
Expand Down

0 comments on commit 292c2fe

Please sign in to comment.