Skip to content

Commit

Permalink
Sort frames stored in git
Browse files Browse the repository at this point in the history
This should minimize the changes when different clients commit to the
repository.
  • Loading branch information
lkiesow authored and teutat3s committed Aug 17, 2024
1 parent 130973b commit f9a9761
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions watson/watson.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ def push(self, last_pull):
'project': frame.project,
'tags': frame.tags
})
frames.sort(key=lambda frame: frame['begin_at'])

# Get number of synced frames
sync_file = os.path.join(self.sync_dir, 'frames')
Expand Down

0 comments on commit f9a9761

Please sign in to comment.