From fcd34a11c268d2ae990ae6e955909ba99c476564 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 21 Jan 2022 09:17:18 +0000 Subject: [PATCH] Add extra check in dashboard --- handler/agora.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handler/agora.py b/handler/agora.py index 87ce7a6..4a68b86 100644 --- a/handler/agora.py +++ b/handler/agora.py @@ -108,6 +108,8 @@ class Agora(object): Post new trades to IRC and cache trades for the future. """ current_trades = [] + if not dash: + return if not dash.items(): return for contact_id, contact in dash.items():