Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
path: root/webactivity.py
diff options
authorRafael Ortiz <rafael@activitycentral.com>2011-07-15 17:14:02 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2011-07-15 17:14:02 (GMT)
commitf472ad829c3ac4a836f9606e622b0d25759f8c0d (patch)
treeccb59684c57cc78dbcc658e66b996b48c08133b2 /webactivity.py
parentfe2c95f950c3d8e654eadb4c85ba38031b7cd049 (diff)
Remove unfinished downloads
When Browse starts removes all files in the instance directory that where not modified in a long time(1 day). Since there is no way to pause a download and continue later, this files are failed downloads that should be eliminated. this is the ''cache'' case of an already fixed issue, by Jose Prous joseprous@gmail.com
Diffstat (limited to 'webactivity.py')
1 files changed, 2 insertions, 0 deletions
diff --git a/webactivity.py b/webactivity.py
index 865cbb6..bf20265 100644
--- a/webactivity.py
+++ b/webactivity.py
@@ -200,6 +200,8 @@ class WebActivity(activity.Activity):
_logger.debug('Starting the web activity')
+ downloadmanager.remove_old_parts()
self._force_close = False
self._tabbed_view = TabbedView()