Skip to content

Commit

Permalink
Apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix authored Jul 18, 2024
1 parent cb9113e commit 2aaaae9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gui/wxpython/wxplot/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,10 @@ def CreateDatalist(self, raster, coords):
for line in ret.splitlines():
dist, elev = line.strip().split(" ")
if (
dist is None or dist in ("", "nan") or elev is None or elev in ("", "nan")
dist is None
or dist in ("", "nan")
or elev is None
or elev in ("", "nan")
):
continue
dist = float(dist)
Expand Down

0 comments on commit 2aaaae9

Please sign in to comment.