mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] reorder diagnosers
un-funkify the order 8)
This commit is contained in:
parent
cc65217f58
commit
d5008bc656
1 changed files with 3 additions and 3 deletions
|
@ -656,9 +656,9 @@ class Diagnoser:
|
|||
def _list_diagnosis_categories():
|
||||
|
||||
paths = glob.glob(os.path.dirname(__file__) + "/diagnosers/??-*.py")
|
||||
names = sorted(
|
||||
[os.path.basename(path)[: -len(".py")].split("-")[-1] for path in paths]
|
||||
)
|
||||
names = [name.split("-")[-1] for name in sorted(
|
||||
[os.path.basename(path)[: -len(".py")] for path in paths]
|
||||
)]
|
||||
|
||||
return names
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue