get duplicate error again
This commit is contained in:
parent
09798cd394
commit
86732c72d0
|
@ -533,8 +533,6 @@ class Manager:
|
||||||
# We have enough free space, so lets resume this torrent
|
# We have enough free space, so lets resume this torrent
|
||||||
self.resume(unique_ID)
|
self.resume(unique_ID)
|
||||||
else:
|
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!"
|
print "Not enough free space to resume this torrent!"
|
||||||
else: #We're using compact allocation so lets just resume
|
else: #We're using compact allocation so lets just resume
|
||||||
self.resume(unique_ID)
|
self.resume(unique_ID)
|
||||||
|
@ -834,7 +832,7 @@ class Manager:
|
||||||
unique_ID = deluge_core.add_torrent(torrent.filename,
|
unique_ID = deluge_core.add_torrent(torrent.filename,
|
||||||
torrent.save_dir,
|
torrent.save_dir,
|
||||||
torrent.compact)
|
torrent.compact)
|
||||||
except:
|
except DelugeError, e:
|
||||||
print "Error probably bad torrent"
|
print "Error probably bad torrent"
|
||||||
del self.state.torrents[torrent]
|
del self.state.torrents[torrent]
|
||||||
raise e
|
raise e
|
||||||
|
|
Loading…
Reference in New Issue