presort vendored paths list.

an attempt to fix https://github.com/lnbits/lnbits/issues/99.
This commit is contained in:
fiatjaf 2020-10-08 22:10:17 -03:00
parent 33fa540744
commit f6bcff01f4

View File

@ -101,7 +101,7 @@ def get_vendored(ext: str, prefer_minified: bool = False) -> List[str]:
elif minified not in paths:
paths.append(path)
return paths
return sorted(paths)
def url_for_vendored(abspath: str) -> str: