From 9e7536b99e0d6d67475770183edc66df70be4dfc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 19 Nov 2020 17:58:42 +0000 Subject: [PATCH] simplify --- webapp_hashtagswarm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_hashtagswarm.py b/webapp_hashtagswarm.py index 3c29f068..ee706241 100644 --- a/webapp_hashtagswarm.py +++ b/webapp_hashtagswarm.py @@ -113,7 +113,7 @@ def htmlHashTagSwarm(baseDir: str, actor: str, translate: {}) -> str: postDaysSinceEpoch = int(postDaysSinceEpochStr) if postDaysSinceEpoch < daysSinceEpoch - 1: break - elif postDaysSinceEpoch >= daysSinceEpoch -1: + else: postUrl = sections[2] if '##' in postUrl: postDomain = postUrl.split('##')[1]