diff options
| author | Elisa Sohier <elisa.sohier@art-software.fr> | 2019-08-01 16:17:20 +0200 |
|---|---|---|
| committer | Elisa Sohier <elisa.sohier@art-software.fr> | 2019-08-01 16:17:20 +0200 |
| commit | 7cffe98a3dd0cde9a27d03f23518eba1556730be (patch) | |
| tree | 7f5860355ffeb0dd2a70a399c2a72150bafe90fa | |
| parent | 04bd9e23a2a98604592e744f6374718dc0ed098c (diff) | |
Sort list in tab displaying mode
| -rw-r--r-- | autosync/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autosync/__init__.py b/autosync/__init__.py index ec688f8..df899c7 100644 --- a/autosync/__init__.py +++ b/autosync/__init__.py @@ -91,7 +91,7 @@ def run(): if firstArg.startswith("@"): if firstArg.startswith("@@"): # list available entries for tabfile - elts = list(getTab(name=firstArg.lstrip("@"))) + elts = list(sorted(getTab(name=firstArg.lstrip("@")))) maxLenName = max(len(line[0]) for line in elts) maxLenSrc = max(len(line[1]) for line in elts) |
