mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-11 01:07:36 +08:00
WIP
This commit is contained in:
parent
78c40aab23
commit
1daf4f6e3a
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ def browse_bazarr_filesystem(path='#'):
|
||||||
|
|
||||||
parent = os.path.dirname(path)
|
parent = os.path.dirname(path)
|
||||||
|
|
||||||
result = {'directories': data}
|
result = {'directories': sorted(data, key=lambda i: i['name'])}
|
||||||
if path == '#':
|
if path == '#':
|
||||||
result.update({'parent': '#'})
|
result.update({'parent': '#'})
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue