pmb.helpers.ui scan for UIs in new aport structure (#290)

This fixes #289.
This commit is contained in:
clayton craft 2017-07-29 15:34:34 -07:00 committed by Martijn Braam
parent 6cb68699be
commit ed8fba54c3
1 changed files with 1 additions and 1 deletions

View File

@ -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')