From f906478d4535179c41bb3ef455654eaa6da14ac6 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 26 Jan 2022 19:46:23 +0000 Subject: [PATCH] Fix another dash bug --- handler/agora.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handler/agora.py b/handler/agora.py index d5cac7f..44e04ae 100644 --- a/handler/agora.py +++ b/handler/agora.py @@ -57,6 +57,8 @@ class Agora(object): dash = self.agora.dashboard_seller() except ReadTimeout: return False + if not dash: + return False dash_tmp = {} if "data" not in dash["response"].keys(): self.log.error("Data not in dashboard response: {content}", content=dash)