forked from indymedia/epicyon
Longer span for hashtags
parent
436262ec6c
commit
5ef1be0c37
|
@ -111,9 +111,9 @@ def htmlHashTagSwarm(baseDir: str, actor: str, translate: {}) -> str:
|
||||||
if not postDaysSinceEpochStr.isdigit():
|
if not postDaysSinceEpochStr.isdigit():
|
||||||
break
|
break
|
||||||
postDaysSinceEpoch = int(postDaysSinceEpochStr)
|
postDaysSinceEpoch = int(postDaysSinceEpochStr)
|
||||||
if postDaysSinceEpoch < daysSinceEpoch:
|
if postDaysSinceEpoch < daysSinceEpoch - 1:
|
||||||
break
|
break
|
||||||
elif postDaysSinceEpoch == daysSinceEpoch:
|
elif postDaysSinceEpoch >= daysSinceEpoch -1:
|
||||||
postUrl = sections[2]
|
postUrl = sections[2]
|
||||||
if '##' in postUrl:
|
if '##' in postUrl:
|
||||||
postDomain = postUrl.split('##')[1]
|
postDomain = postUrl.split('##')[1]
|
||||||
|
|
Loading…
Reference in New Issue