diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-16 23:52:17 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-16 23:52:17 +0200 |
commit | a1c441101d15c58ea15082a86df2b3552f01106a (patch) | |
tree | 68e69287247e2d548b2e035f2e10b210b180409e /module/Api.py | |
parent | started to integrate package generator (diff) | |
download | pyload-a1c441101d15c58ea15082a86df2b3552f01106a.tar.xz |
improvements, command line link checker
Diffstat (limited to 'module/Api.py')
-rw-r--r-- | module/Api.py | 9 |
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 |