This commit is contained in:
deathbybandaid 2023-01-06 19:45:51 -05:00
parent 4409c410d1
commit 2c6c00acc5

View File

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