summaryrefslogtreecommitdiffstats
path: root/examples/textconf
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-25 08:29:49 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-25 08:29:49 +0100
commit8b34e6ea7b0afdec8f58d5b9d6cf03bf94232587 (patch)
tree25cca4d367827cfb3d92f30c0a648bece2c2c4c2 /examples/textconf
parentimplemention of linearly_interpolate_ramp (diff)
downloadblueshift-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/textconf2
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: