From d86ac7086cce1410157b59002cf458918913badd Mon Sep 17 00:00:00 2001 From: Blake Warner Date: Mon, 7 Oct 2019 08:53:27 -0400 Subject: [PATCH] bugfix with server not listing files --- Server/Controller/Api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/Controller/Api.py b/Server/Controller/Api.py index 1dc362327..c660534ca 100644 --- a/Server/Controller/Api.py +++ b/Server/Controller/Api.py @@ -89,7 +89,7 @@ def getSearch(request, response): for path, f in Nsps.files.items(): o.append({'id': f.titleId, 'name': f.fileName(), 'version': int(f.version) if f.version else None }) - response.write(json.dumps(reversed(o))) + response.write(json.dumps(o.reverse())) def getTitles(request, response): o = []