heartranked

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

commit eb377440668351fb2a706ae62ba47f27225ccd6b
parent 254df8b2f4db8bcedab12feb6ac5a3298aabb42d
Author: rob <rob@tarina.org>
Date:   Wed, 12 Aug 2026 03:53:15 +0300

exact!

Diffstat:
Mserver.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server.py b/server.py @@ -1475,8 +1475,8 @@ class editor: thedict={'soundname':soundname} savejson('u/'+session.user+'/posts/'+session.postid+'/meta',thedict) #session.postid = hashlib.sha256(str(random.getrandbits(256)).encode('utf-8')).hexdigest()[9:36] - symlinkthis() os.system('cp -r -P '+basedir+'u/'+session.user+'/posts/'+session.postid+' '+basedir+'p/posts/') + symlinkthis() #also zippit here! #os.system('zip -r '+basedir+'p/zipped/'+session.postid+'.zip '+basedir+'p/posts/'+session.postid ) os.system('cd '+basedir+'p/posts/ && zip -o -r '+session.postid+'.zip '+session.postid )