diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index d5c1e5302..7f3275c4c 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -191,7 +191,7 @@ class AddTorrentDialog(component.Component): filedump = lt.bdecode(filedump) _file.close() except Exception, e: - log.warning("Unable to open %s: e", filename, e) + log.warning("Unable to open %s: %s", filename, e) continue try: