Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/downloadmanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'downloadmanager.py')
-rw-r--r--downloadmanager.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/downloadmanager.py b/downloadmanager.py
index 1c6d10c..56ad241 100644
--- a/downloadmanager.py
+++ b/downloadmanager.py
@@ -63,7 +63,7 @@ def remove_all_downloads():
datastore.delete(download.dl_jobject.object_id)
download.cleanup_datastore_write()
-class Download(object):
+class UserDownload(object):
def __init__(self, download):
self._download = download
self._source = download.get_uri()
@@ -219,6 +219,6 @@ class Download(object):
self.cancel()
_active_downloads.remove(self)
-def save_link(download, user_data):
-
- dl = Download(download) \ No newline at end of file
+def save_link(uri, title, owner_doc):
+ #TODO
+ pass