Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Order Sessions according to Start Time #9

Merged
merged 1 commit into from
Aug 13, 2021
Merged

Conversation

heilerich
Copy link
Owner

The recording object uses os.listdir to get a list of session folders. According to the python documentation os.listdir does not guarantee a specific order, which can create inconsistencies when relying on the order of the Recording.sessions list.

This orders the session list according to the starting time of the recordings, which is probably what most users will expect.

@heilerich heilerich merged commit 8189710 into master Aug 13, 2021
@heilerich heilerich deleted the fix-session-order branch August 13, 2021 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant