summaryrefslogtreecommitdiffstats
path: root/examples/textconf
diff options
context:
space:
mode:
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 7dcff6f..9f79494 100644
--- a/examples/textconf
+++ b/examples/textconf
@@ -316,7 +316,7 @@ def t(point):
point = [float(p) for p in point.split(':')]
while len(point) > 3:
point.append(0)
- point = sum([v * 60 ** (2 - i) for i, v in enumerate(point)])
+ return sum([v * 60 ** (2 - i) for i, v in enumerate(point)])
points = [float(p) if solar_points else t(p) for p in points if p not in ['solar', 'time', 'point']]
points = list(enumerate(points))
if reduce_points: