mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-24 11:28:31 +00:00
raise error
This commit is contained in:
parent
0998506f9f
commit
09798cd394
1 changed files with 3 additions and 0 deletions
|
@ -533,6 +533,8 @@ 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)
|
||||
|
@ -835,6 +837,7 @@ class Manager:
|
|||
except:
|
||||
print "Error probably bad torrent"
|
||||
del self.state.torrents[torrent]
|
||||
raise e
|
||||
|
||||
ret = unique_ID
|
||||
self.unique_IDs[unique_ID] = torrent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue