This commit is contained in:
codl 2018-05-08 00:14:14 +02:00
parent 5cb84e1fbd
commit cacd271683
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ class KnownInstances(object):
hits=instance['hits'] hits=instance['hits']
)) ))
except (json.JSONDecodeError, TypeError): except (json.JSONDecodeError, TypeError):
return self.__default() self.__default()
return
def __default(self): def __default(self):
self.instances = [{ self.instances = [{