commit 1e80369c66e3ac8387dce4c1c8ea3024d3aa5b95
parent 03430bc63d3c1b6be92c758b7af6ab4707777472
Author: rbckman <rob@tarina.org>
Date: Sat, 22 Aug 2026 07:26:13 +0300
this is the way
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server.py b/server.py
@@ -1875,7 +1875,7 @@ class uploads:
class pull:
def GET(self):
if logged():
- i = web.input(name=None,postid=None,passcode=None) #GET LIST WITH NAME JSON WHY NOT?!
+ i = web.input(name=None,postid=None) #GET LIST WITH NAME JSON WHY NOT?!
trusted=os.listdir(basedir+'r/trusted/'+session.user+'/')
trustedlist=[]
if i.name != None and i.postid != None:
@@ -1885,7 +1885,7 @@ class pull:
postdict.update({i.postid:{'postid': i.postid, 'name': i.name}})
web.header('Content-Type', 'application/json')
return json.dumps(postdict)
- if i.postid != None:
+ else:
for t in trusted:
trusted=loadjson('r/trusted/'+session.user+'/'+t)
trustedlist.append(trusted)