summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/comprehensive1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/comprehensive b/examples/comprehensive
index 653cd8b..e1c045e 100644
--- a/examples/comprehensive
+++ b/examples/comprehensive
@@ -18,6 +18,7 @@ def by_time():
'''
Dayness calculation using time
'''
+ global time_alpha
if isinstance(time_alpha[0][0], str):
for i in range(len(time_alpha)):
hh = [float(x) for x in time_alpha[i][0].split(':')]