Fix another dash bug

This commit is contained in:
Mark Veidemanis 2022-01-26 19:46:23 +00:00
parent 9352956f76
commit f906478d45
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 0 deletions

View File

@ -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)