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']
|
self.get_core_torrent_state(unique_ID, False)['total_upload']
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
self.unique_IDs[unique_ID].initial_uploaded_memory = 0
|
self.unique_IDs[unique_ID].initial_uploaded_memory = 0
|
||||||
|
return True
|
||||||
|
|
||||||
# Preference management functions
|
# Preference management functions
|
||||||
|
|
||||||
|
@ -484,6 +485,7 @@ class Manager:
|
||||||
deluge_core.save_fastresume(uid, self.unique_IDs[uid].filename)
|
deluge_core.save_fastresume(uid, self.unique_IDs[uid].filename)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print "Unable to save fastresume: ", e
|
print "Unable to save fastresume: ", e
|
||||||
|
return True
|
||||||
|
|
||||||
# State retrieval functions
|
# State retrieval functions
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue