diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-08-06 10:49:08 +0200 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-08-06 11:02:28 +0200 |
commit | 504d4b46715d916e32e3d5f7733e0f3c8f15e0b7 (patch) | |
tree | 4f3f079e50c1435e0a5bf460963da6f62541476f /lib/python | |
parent | 8b4f8b7984d3d132d7383e797c938f779c625427 (diff) |
web_support: make_list requires a list argument
Diffstat (limited to 'lib/python')
-rw-r--r-- | lib/python/web_support.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |