diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-25 08:29:49 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-25 08:29:49 +0100 |
commit | 8b34e6ea7b0afdec8f58d5b9d6cf03bf94232587 (patch) | |
tree | 25cca4d367827cfb3d92f30c0a648bece2c2c4c2 /examples/textconf | |
parent | implemention of linearly_interpolate_ramp (diff) | |
download | blueshift-8b34e6ea7b0afdec8f58d5b9d6cf03bf94232587.tar.gz blueshift-8b34e6ea7b0afdec8f58d5b9d6cf03bf94232587.tar.bz2 blueshift-8b34e6ea7b0afdec8f58d5b9d6cf03bf94232587.tar.xz |
m bug + beginning of bedtime example
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'examples/textconf')
-rw-r--r-- | examples/textconf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/textconf b/examples/textconf index 89d222f..1390d92 100644 --- a/examples/textconf +++ b/examples/textconf @@ -404,7 +404,7 @@ def t(point): while len(point) > 3: point.append(0) v = sum([v * 60 ** (2 - i) for i, v in enumerate(point)]) - return v % 24 + return v % (24 * 60 * 60) points = [float(p) if solar_points else t(p) for p in points if p not in ['solar', 'time', 'reduce']] points = list(enumerate(points)) if reduce_points: |