mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pep8
This commit is contained in:
1 parent
898aad3da5
commit
2951f5e093
3 files changed
+4
-4
No files matched your search
Binary file not shown.
Binary file not shown.
@@ -492,10 +492,10 @@ class ProfileXYZ(Profile, SQLSubModel):
|
|||||||
line = []
|
line = []
|
||||||
|
|
||||||
if zz[self.number_points-1] < z:
|
if zz[self.number_points-1] < z:
|
||||||
line.append([station[self.number_points-1], z])
|
line.append([station[self.number_points-1], z])
|
||||||
if len(line) > 2:
|
if len(line) > 2:
|
||||||
lines.append(geometry.LineString(line))
|
lines.append(geometry.LineString(line))
|
||||||
line = []
|
line = []
|
||||||
|
|
||||||
return lines
|
return lines
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user