commit b1f15884b37496772c998afa6e52a41f375ba96b
parent b1312fecab5974faef047caac412059cd457c4ea
Author: rbckman <rob@tarina.org>
Date: Fri, 7 Aug 2026 17:40:53 +0300
fix the comborank
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/html/heartranked.html b/html/heartranked.html
@@ -116,7 +116,9 @@ $else:
</div>
</div>
$else:
- $:markdown.markdown('#welcome to HEART RANKED!')
+ <br>
+ <br>
+ $:markdown.markdown('###welcome to HEARTRANKED!')
$else:
$#goodies = db.select('published', where="postid='"+show+"'")
$ g=loadjson('p/posts/'+show+'/meta')
diff --git a/server.py b/server.py
@@ -932,6 +932,10 @@ def sort_by_name_then_time(path):
def rankrender():
posts = os.listdir('p/posts')
+ os.system('rm -r '+basedir+'p/heartrank')
+ os.system('rm -r '+basedir+'p/comborank')
+ os.makedirs(basedir+'p/comborank',exist_ok=True)
+ os.makedirs(basedir+'p/heartrank',exist_ok=True)
for postid in posts:
try:
l=len(os.listdir(basedir+'p/posts/'+postid+'/hearts/'))