Fix another dash bug
This commit is contained in:
parent
9d9bf9eba4
commit
40686ac0b7
|
@ -57,6 +57,8 @@ class Agora(object):
|
||||||
dash = self.agora.dashboard_seller()
|
dash = self.agora.dashboard_seller()
|
||||||
except ReadTimeout:
|
except ReadTimeout:
|
||||||
return False
|
return False
|
||||||
|
if not dash:
|
||||||
|
return False
|
||||||
dash_tmp = {}
|
dash_tmp = {}
|
||||||
if "data" not in dash["response"].keys():
|
if "data" not in dash["response"].keys():
|
||||||
self.log.error("Data not in dashboard response: {content}", content=dash)
|
self.log.error("Data not in dashboard response: {content}", content=dash)
|
||||||
|
|
Loading…
Reference in New Issue