DB: Some fixes for db update 0.1.0.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-08-07 11:11:32 +02:00
1 parent 74c61262b7
commit c7b5b40eda
5 files changed
+12 -18

No files matched your search

+1 -11
View File
@@ -57,17 +57,7 @@ class Profile(object):
return len(self.points)
def _get_points_list(self):
# Points list generator is type (int, Point) with the first
# element the index of the Point in list
return list(
map(
lambda p: p[1],
sorted(
self._points,
key=lambda p: p[0]
)
)
)
return list(self._points)
@property
def points(self):