From 86732c72d0b22908a4ac692c3e099a9330f8b559 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 6 Nov 2007 21:04:34 +0000 Subject: [PATCH] get duplicate error again --- src/core.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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