Skip to content

Commit

Permalink
Fix escaped unicode in download dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
ichorid committed Nov 29, 2019
1 parent 3b760ab commit 3376b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TriblerGUI/dialogs/startdownloaddialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def on_received_metainfo(self, metainfo):
self.dialog_widget.files_list_view.clear()
for filename in files:
item = DownloadFileTreeWidgetItem(self.dialog_widget.files_list_view)
item.setText(0, '/'.join(filename['path']).encode('raw_unicode_escape').decode('utf-8'))
item.setText(0, '/'.join(filename['path']))
item.setText(1, format_size(float(filename['length'])))
item.setData(0, Qt.UserRole, filename)
item.setCheckState(2, Qt.Checked)
Expand Down

0 comments on commit 3376b4e

Please sign in to comment.