mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-01 15:42:55 +08:00
STY: Put 0 at the end. (#1569)
This commit is contained in:
committed by
John Ricklefs
parent
9f10bbaf94
commit
563a8b34f3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user