Skip to content

Commit

Permalink
Port to Python 3 - fix TypeError
Browse files Browse the repository at this point in the history
Regression introduced 1395117.

Signed-off-by: James Cameron <[email protected]>
  • Loading branch information
srevinsaju authored and quozl committed Feb 7, 2020
1 parent 0a56cce commit b740323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collabwrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ def __init__(self, buddy, conn, blob, filename, description, mime):
_BaseOutgoingTransfer.__init__(
self, buddy, conn, filename, description, mime)

self._blob = blob
self._blob = blob.encode('utf-8')
self._create_channel(len(self._blob))

def _get_input_stream(self):
Expand Down

0 comments on commit b740323

Please sign in to comment.