From f45dd93a578b13335aa9e82a50e2b8ce654816d1 Mon Sep 17 00:00:00 2001 From: DiMartinoXBMC Date: Sat, 24 Dec 2016 12:34:18 +0300 Subject: [PATCH] fix --- functions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.py b/functions.py index a80ff76..22736e3 100644 --- a/functions.py +++ b/functions.py @@ -1324,7 +1324,8 @@ def search(url, searchersList, isApi=None): progressBar.close() for k in result.keys(): - filesList.extend(result[k]) + if result.get(k): + filesList.extend(result[k]) return filesList def get_filesList(query, searchersList, addtime = None):