mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-29 20:56:31 +00:00
fix fastresume/up mem timers - fixes ticket #51
This commit is contained in:
parent
5b516040f3
commit
e4ee196129
@ -374,6 +374,7 @@ class Manager:
|
||||
self.get_core_torrent_state(unique_ID, False)['total_upload']
|
||||
except AttributeError:
|
||||
self.unique_IDs[unique_ID].initial_uploaded_memory = 0
|
||||
return True
|
||||
|
||||
# Preference management functions
|
||||
|
||||
@ -484,6 +485,7 @@ class Manager:
|
||||
deluge_core.save_fastresume(uid, self.unique_IDs[uid].filename)
|
||||
except Exception, e:
|
||||
print "Unable to save fastresume: ", e
|
||||
return True
|
||||
|
||||
# State retrieval functions
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user