Fix another dash bug
This commit is contained in:
parent
9352956f76
commit
f906478d45
|
@ -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