summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Pinto <markybob@dipconsultants.com>2008-02-22 08:31:15 +0000
committerMarcos Pinto <markybob@dipconsultants.com>2008-02-22 08:31:15 +0000
commite4ee196129a67eeb74e7944f6bd5311e5226cad7 (patch)
treeb318ede821e250a57e60138ef7227e28a560b2e7
parent5b516040f35ed40c6aa349557eaa670184443d52 (diff)
downloaddeluge-e4ee196129a67eeb74e7944f6bd5311e5226cad7.tar.gz
deluge-e4ee196129a67eeb74e7944f6bd5311e5226cad7.tar.bz2
deluge-e4ee196129a67eeb74e7944f6bd5311e5226cad7.zip
fix fastresume/up mem timers - fixes ticket #51
-rw-r--r--src/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 04c050785..2536a155c 100644
--- a/src/core.py
+++ b/src/core.py
@@ -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