Longer span for hashtags

main
Bob Mottram 2020-11-19 17:54:25 +00:00
parent 436262ec6c
commit 5ef1be0c37
1 changed files with 2 additions and 2 deletions

View File

@ -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]