diasporadiaries

a platform for writing stories with personal accounts and messages
git clone git://parazyd.org/diasporadiaries.git
Log | Files | Refs | Submodules | README | LICENSE

commit ae2e0dec55f8372ad357e48d0ebfbf5b284f6379
parent 20cf734bb15c556b3a408a0ae821b980d93c8ca0
Author: parazyd <parazyd@dyne.org>
Date:   Wed, 16 Jan 2019 22:44:51 +0100

Replace TODO in utils.py with a note.

Diffstat:
Mutils.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/utils.py b/utils.py @@ -109,7 +109,8 @@ def get_multiple_stories_filtered(col, val, param, reverse=True): param is a tuple, where [0] will be compared to [1] for filtering. """ stories = get_multiple_stories(col, val, reverse=reverse) - # TODO: test if not stories + # NOTE: Possible improvement, check when stories is empty and + # act accordingly in country.html filtered_stories = [] for i in stories: