Skip to content

Commit

Permalink
hound + fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Bernhardsson committed Jun 12, 2018
1 parent d7067a3 commit 6d67ef2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion convoys/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ def get_arrays(data, features=None, groups=None, created=None,
if now is not None:
T_raw.append(_sub(row[now], row[created]))
else:
T_raw.append(_sub(datetime.datetime.now() - row[created_at]))
T_raw.append(_sub(datetime.datetime.now(),
row[created_at]))
else:
T_raw.append(row[now])
unit, converter = get_timescale(max(T_raw), unit)
Expand Down

0 comments on commit 6d67ef2

Please sign in to comment.