From 067a6664d44b2ebaa74fad9023c849cc514e4973 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 15 Jan 2019 00:24:50 +0100 Subject: [PATCH] The mystery deepens --- webserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver.py b/webserver.py index 1acf3e46..9b177120 100644 --- a/webserver.py +++ b/webserver.py @@ -120,7 +120,7 @@ def page_profile(name: str): except errors.NotFoundError: data = None # TODO: investigate on why instrumentedlists are returned - if data is None: + if data is None or len(data) == 0: continue elif isinstance(data, InstrumentedList): mini_data.append({