diff --git a/deluge/core/core.py b/deluge/core/core.py index ba492521b..6b163eb65 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -216,6 +216,7 @@ class Core(component.Component): except Exception, e: log.error("There was an error adding the torrent file %s", filename) log.exception(e) + torrent_id = None return torrent_id