diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index dd6b68da0..6d4475d45 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -174,6 +174,9 @@ class AddTorrentDialog(component.Component): new_row = None for filename in filenames: + # Convert the path to unicode + filename = unicode(filename) + # Get the torrent data from the torrent file try: info = deluge.ui.common.TorrentInfo(filename)