Skip to content

Commit

Permalink
bugfix with server not listing files
Browse files Browse the repository at this point in the history
  • Loading branch information
blawar committed Oct 7, 2019
1 parent f4ac211 commit d86ac70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/Controller/Api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit d86ac70

Please sign in to comment.