diff options
| author | Joris Guyonvarch | 2025-12-27 23:18:38 +0100 |
|---|---|---|
| committer | Joris Guyonvarch | 2025-12-27 23:18:38 +0100 |
| commit | ca85c0b888f72b350028df832a049f24491a6c3d (patch) | |
| tree | dd113b955be995b065d9a4a288bf92c6579cf6ce /src | |
| parent | 5ed48b0045fb42050d22047dd15c001d99e01fe6 (diff) | |
Sort book files
Diffstat (limited to 'src')
| -rw-r--r-- | src/book_files.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/book_files.py b/src/book_files.py index 26253a8..d697942 100644 --- a/src/book_files.py +++ b/src/book_files.py @@ -10,4 +10,5 @@ def get(library, book_id): basename = os.path.basename(path) if basename != 'cover.png' and basename != 'cover-min.png': paths.append(pathlib.Path(path)) + paths.sort() return paths |
