This commit is contained in:
deathbybandaid 2023-01-06 19:43:49 -05:00
parent d9b1241aee
commit 4409c410d1

View File

@ -66,8 +66,9 @@ def do_file_search(arr_file_path):
return None return None
DBids = [] DBids = []
for x in response_json: for x in response_json:
print(x) if "DB" in list(x.keys()):
DBids = [response_json[x]["DB"] for x in response_json if "DB" in list(response_json[x].keys())] DBids.append(x["DB"])
# DBids = [response_json[x]["DB"] for x in response_json if "DB" in list(response_json[x].keys())]
print(DBids) print(DBids)
DBid = DBids[0] DBid = DBids[0]
return DBid return DBid