Small fix

This commit is contained in:
mikke89 committed 2014-01-21 01:38:37 +01:00
1 parent dfbb84caae
commit f20cce0176
1 file changed
+2 -2
+2 -2
View File
@@ -19,13 +19,13 @@ class Sabnzbd(Downloader):
def test(self): def test(self):
try: try:
queue = self.call({ sab_data = self.call({
'mode': 'version', 'mode': 'version',
}) })
except: except:
return False return False
return bool(queue) return bool(sab_data)
def download(self, data = None, media = None, filedata = None): def download(self, data = None, media = None, filedata = None):
if not media: media = {} if not media: media = {}