profile loading/creation update, bug fixes
This commit is contained in:
parent
a4da3a7afa
commit
a714c1045d
5 changed files with 10 additions and 11 deletions
|
@ -121,7 +121,7 @@ class SendTransfer(FileTransfer):
|
|||
super(SendTransfer, self).__init__(path, tox, friend_number, size)
|
||||
self.state = TOX_FILE_TRANSFER_STATE['OUTGOING_NOT_STARTED']
|
||||
self._file_number = tox.file_send(friend_number, kind, size, file_id,
|
||||
bytes(basename(path), 'utf-8') if path else '')
|
||||
bytes(basename(path), 'utf-8') if path else b'')
|
||||
|
||||
def send_chunk(self, position, size):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue