summaryrefslogtreecommitdiffstats
path: root/module/Api.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-16 23:52:17 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-16 23:52:17 +0200
commita1c441101d15c58ea15082a86df2b3552f01106a (patch)
tree68e69287247e2d548b2e035f2e10b210b180409e /module/Api.py
parentstarted to integrate package generator (diff)
downloadpyload-a1c441101d15c58ea15082a86df2b3552f01106a.tar.xz
improvements, command line link checker
Diffstat (limited to 'module/Api.py')
-rw-r--r--module/Api.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/module/Api.py b/module/Api.py
index dbdd2b04c..1d8d4d77e 100644
--- a/module/Api.py
+++ b/module/Api.py
@@ -285,7 +285,14 @@ class Api(Iface):
return self.core.threadManager.createResultThread(data)
def pollResults(self, rid):
- pass
+ """ Polls the result available for ResultID
+ :param rid:
+ :return:
+ """
+ self.core.threadManager.timestamp = time() + 5 * 60
+
+ return self.core.threadManager.getInfoResult(rid)
+
def generatePackages(self, links):
""" Parses links, generates packages names only from urls