@@ -46,6 +46,9 @@ class BatcaveClient(object):
url = 'find?name=' + name + '&fuzzy=' + ('1' if fuzzymatch else '0')
matches = self.__load_response(url, 'find_name=' + name)
+ if matches is None:
+ return None
+
if single_match_only:
if len(matches) == 1:
return matches[0]