Skip to content

Commit

Permalink
Celsius example encoder should return bytes(), not str()
Browse files Browse the repository at this point in the history
  • Loading branch information
caj-larsson committed Aug 15, 2018
1 parent 1430d73 commit 81f3788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/python/celsius/celsius.py
Expand Up @@ -52,4 +52,4 @@ def add(data):

@wallaroo.encoder
def encoder(data):
return "%.6f\n" % (data)
return b"%.6f\n" % (data)

0 comments on commit 81f3788

Please sign in to comment.