pmb.helpers.ui scan for UIs in new aport structure (#290)
This fixes #289.
This commit is contained in:
parent
6cb68699be
commit
ed8fba54c3
|
@ -26,7 +26,7 @@ def list(args):
|
|||
:returns: ["none", "postmarketos-ui-one", "psotmarketos-ui-two", ...]
|
||||
"""
|
||||
ret = []
|
||||
for path in glob.glob(args.aports + "/postmarketos-ui-*"):
|
||||
for path in glob.glob(args.aports + "/main/postmarketos-ui-*"):
|
||||
ui = os.path.basename(path).split("-", 2)[2]
|
||||
ret.append(ui)
|
||||
ret.append('none')
|
||||
|
|
Loading…
Reference in New Issue