Skip to content

Commit

Permalink
Fix#3
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushCodez committed Feb 12, 2022
1 parent bf3452d commit 0d04cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def upload_data():
date2 = max(date_list)

x_data = [date1 + timedelta(minutes=i)
for i in range((date2-date1).seconds//60 + 1)]
for i in range(int((date2-date1).total_seconds()//60) + 1)]
x_from_the_dataa = [datetime.strptime(
i[0], "%Y-%m-%d %H:%M") for i in data]
yhaha = [float(ts[1]) for ts in data]
Expand Down

0 comments on commit 0d04cb3

Please sign in to comment.