Libraries refactor and add some sinks #4
|
@ -317,6 +317,8 @@ class Agora(object):
|
||||||
return False
|
return False
|
||||||
if ads is False:
|
if ads is False:
|
||||||
return False
|
return False
|
||||||
|
if ads["response"] is None:
|
||||||
|
return False
|
||||||
if "data" not in ads["response"]:
|
if "data" not in ads["response"]:
|
||||||
return False
|
return False
|
||||||
for ad in ads["response"]["data"]["ad_list"]:
|
for ad in ads["response"]["data"]["ad_list"]:
|
||||||
|
|
Loading…
Reference in New Issue