From 3aca49fde8433386aa9e42ed95a4edbd261f6953 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Thu, 6 Aug 2020 10:49:08 +0200 Subject: web_support: make_list requires a list argument --- lib/python/web_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/python/web_support.py b/lib/python/web_support.py index 1ad6a7f51f..5b06d7743a 100644 --- a/lib/python/web_support.py +++ b/lib/python/web_support.py @@ -524,7 +524,7 @@ def make_numbered_list(entries): def make_list(lst, separator=", "): """Creates a list of HTML elements.""" - assert not isstring(lst) + assert isinstance(lst, list) c = [] if lst: for e in lst: -- cgit v1.2.3