test
This commit is contained in:
parent
4409c410d1
commit
2c6c00acc5
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user