diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-19 01:01:35 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-19 01:01:35 +0100 |
commit | 0396a273b99d622500649bdbdf08317df16c50b2 (patch) | |
tree | c161abc60b11e32aa06bd03e4fdfb6c0912ffa99 | |
parent | fix errors (diff) | |
download | blueshift-0396a273b99d622500649bdbdf08317df16c50b2.tar.gz blueshift-0396a273b99d622500649bdbdf08317df16c50b2.tar.bz2 blueshift-0396a273b99d622500649bdbdf08317df16c50b2.tar.xz |
fix time/solar elevation to dayness mapping
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | examples/textconf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/textconf b/examples/textconf index 08e1259..07495b0 100644 --- a/examples/textconf +++ b/examples/textconf @@ -353,7 +353,7 @@ if reduce_points: n = len(points) - 1 points = [(r / n, v) for r, v in points] get_timepoint = None -points.sort(key = lambda x : x[0]) +points.sort(key = lambda x : x[1]) if not solar_points: one_day = 24 * 60 * 60 points.append((points[0][0], points[0][1] + one_day)) |