kopia lustrzana https://github.com/jbruce12000/kiln-controller
Merge 3f873ba2a2
into a2b3071e4e
commit
b4b7df5659
|
@ -268,7 +268,7 @@ def get_profiles():
|
|||
with open(os.path.join(profile_path, filename), 'r') as f:
|
||||
profiles.append(json.load(f))
|
||||
profiles = normalize_temp_units(profiles)
|
||||
return json.dumps(profiles)
|
||||
return json.dumps(sorted(profiles, key=lambda x: x["name"]))
|
||||
|
||||
|
||||
def save_profile(profile, force=False):
|
||||
|
|
Ładowanie…
Reference in New Issue