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):
|
if not len(response_json):
|
||||||
return None
|
return None
|
||||||
DBids = []
|
DBids = []
|
||||||
for x in response_json:
|
DBids = [x["DB"] for x in response_json if "DB" in list(x.keys())]
|
||||||
if "DB" in list(x.keys()):
|
DBids = list(set(DBids))
|
||||||
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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user