mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
DB: Some fixes for db update 0.1.0.
This commit is contained in:
1 parent
74c61262b7
commit
c7b5b40eda
5 files changed
+12
-18
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user