diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index fbf4907a7..fdaa896b9 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -175,6 +175,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)