mirror of
https://github.com/pybricks/pybricks-projects.git
synced 2026-09-14 10:33:09 +00:00
workspaces: update script to sort alphabetically
This commit is contained in:
@@ -7,6 +7,7 @@ def make_workspace(root):
|
||||
|
||||
# Get list of folder names
|
||||
names = [d.name for d in scandir(root) if d.is_dir()]
|
||||
names.sort()
|
||||
|
||||
# Make the workspace dictionary
|
||||
workspace = {
|
||||
|
||||
Reference in New Issue
Block a user