commit 63552b4638ff667c5ac4ad15b647d05631e7d673
parent 95951d9f4c08ff9348052502fcb5717a71cee4af
Author: rbckman <rob@tarina.org>
Date: Sat, 22 Aug 2026 14:24:16 +0300
zip puller should work now
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server.py b/server.py
@@ -1919,7 +1919,7 @@ class pull:
print('hold on pulling new posts')
print(p)
print(pullposts[p]['name'])
- os.system('wget -o '+basedir+'p/zipped/ https://'+t['servername']+'/static/users/'+pullposts[p]['name']+'/zipped/'+pullposts[p]['postid']+'.zip')
+ os.system('wget -O '+basedir+'p/zipped/'+pullposts[p]['postid']+'.zip https://'+t['servername']+'/static/users/'+pullposts[p]['name']+'/zipped/'+pullposts[p]['postid']+'.zip')
os.system('cd '+basedir+'p/zipped/ && unzip -o '+pullposts[p]['postid']+'.zip -d '+basedir+'u/'+session.user+'/posts/')
os.system('cd '+basedir+'p/zipped/ && unzip -o '+pullposts[p]['postid']+'.zip -d '+basedir+'p/posts/')
mediafiles = getallmedia(basedir+'p/posts/'+pullposts[p]['postid'],extensions)