Test download connection failed
This commit is contained in:
@@ -162,7 +162,7 @@ class Downloader(Provider):
|
|||||||
(d_manual and manual or d_manual is False) and \
|
(d_manual and manual or d_manual is False) and \
|
||||||
(not data or self.isCorrectProtocol(data.get('protocol')))
|
(not data or self.isCorrectProtocol(data.get('protocol')))
|
||||||
|
|
||||||
def _test(self):
|
def _test(self, **kwargs):
|
||||||
t = self.test()
|
t = self.test()
|
||||||
if isinstance(t, tuple):
|
if isinstance(t, tuple):
|
||||||
return {'success': t[0], 'msg': t[1]}
|
return {'success': t[0], 'msg': t[1]}
|
||||||
|
|||||||
Reference in New Issue
Block a user