get duplicate error again

This commit is contained in:
Marcos Pinto 2007-11-06 21:04:34 +00:00
parent 09798cd394
commit 86732c72d0
1 changed files with 1 additions and 3 deletions

View File

@ -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