diff --git a/src/core.py b/src/core.py index f715b3c0c..bdac60532 100644 --- a/src/core.py +++ b/src/core.py @@ -533,8 +533,6 @@ class Manager: # We have enough free space, so lets resume this torrent self.resume(unique_ID) else: - import ui - ui.GTKError(_("You're out of HD space! We had to pause at least one torrent")) print "Not enough free space to resume this torrent!" else: #We're using compact allocation so lets just resume self.resume(unique_ID) @@ -834,7 +832,7 @@ class Manager: unique_ID = deluge_core.add_torrent(torrent.filename, torrent.save_dir, torrent.compact) - except: + except DelugeError, e: print "Error probably bad torrent" del self.state.torrents[torrent] raise e