Skip to content
Snippets Groups Projects
Commit b068ca6b authored by nkour's avatar nkour
Browse files

remove a bad decode

parent 10a71267
No related branches found
No related tags found
No related merge requests found
...@@ -312,7 +312,7 @@ _('Connection with peer cannot be established.')) ...@@ -312,7 +312,7 @@ _('Connection with peer cannot be established.'))
file_dir = os.path.dirname(file_path) file_dir = os.path.dirname(file_path)
if file_dir: if file_dir:
gajim.config.set('last_save_dir', file_dir) gajim.config.set('last_save_dir', file_dir)
file_props['file-name'] = file_path.decode('utf-8') file_props['file-name'] = file_path
self.add_transfer(account, contact, file_props) self.add_transfer(account, contact, file_props)
gajim.connections[account].send_file_approval(file_props) gajim.connections[account].send_file_approval(file_props)
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment