From 5ef1be0c37918e3067130039e75d1d05d031e50e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 19 Nov 2020 17:54:25 +0000 Subject: [PATCH] Longer span for hashtags --- webapp_hashtagswarm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp_hashtagswarm.py b/webapp_hashtagswarm.py index 90f1f4a4..3c29f068 100644 --- a/webapp_hashtagswarm.py +++ b/webapp_hashtagswarm.py @@ -111,9 +111,9 @@ def htmlHashTagSwarm(baseDir: str, actor: str, translate: {}) -> str: if not postDaysSinceEpochStr.isdigit(): break postDaysSinceEpoch = int(postDaysSinceEpochStr) - if postDaysSinceEpoch < daysSinceEpoch: + if postDaysSinceEpoch < daysSinceEpoch - 1: break - elif postDaysSinceEpoch == daysSinceEpoch: + elif postDaysSinceEpoch >= daysSinceEpoch -1: postUrl = sections[2] if '##' in postUrl: postDomain = postUrl.split('##')[1]