STY: Put 0 at the end. (#1569)

This commit is contained in:
Scott Sanderson
2016-10-28 15:14:22 -04:00
committed by John Ricklefs
parent 5ecb5c3754
commit 2536ad29c3
+1 -1
View File
@@ -708,7 +708,7 @@ class DataPortal(object):
days_for_window,
end_dt,
field_to_use):
ends_at_midnight = (0 == end_dt.hour == end_dt.minute)
ends_at_midnight = (end_dt.hour == end_dt.minute == 0)
if ends_at_midnight:
# two cases where we use daily data for the whole range: