From a1c441101d15c58ea15082a86df2b3552f01106a Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 16 Jul 2011 23:52:17 +0200 Subject: improvements, command line link checker --- module/Api.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'module/Api.py') 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 -- cgit v1.2.3