heartranked

git clone https://git.tarina.org/heartranked
Log | Files | Refs | README

commit 0770b2c5751a17d5856860089af6d470a7ef9795
parent 8e159afb785a4786c32ef8ceaadf803d9d932df8
Author: rbckman <rob@tarina.org>
Date:   Sat, 22 Aug 2026 12:32:43 +0300

gm!

Diffstat:
Mserver.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server.py b/server.py @@ -1885,11 +1885,11 @@ class pull: try: posts = posts[:posts.index(i.postid)] #MUST GET POST LIST FROM SERVER API INSTEAD DUDE except: - pass + posts = get_dirs_by_time('p/posts/', reverse=True) postdict={} print(posts) for p in posts: - postdict.update({i.postid:{'postid': i.postid, 'name': i.name}}) + postdict.update({p['postid']:{'postid': p['postid'], 'name': p['name']}}) web.header('Content-Type', 'application/json') return json.dumps(postdict) else: