sarumont / py-trello

Python API wrapper around Trello's API
BSD 3-Clause "New" or "Revised" License
945 stars 330 forks source link

Issue with "get_stats_by_list" method in class "card" #315

Open AlexeyGurtovenko opened 4 years ago

AlexeyGurtovenko commented 4 years ago

There is a typo in line: "_if source_list_id not in stats_by_list or not destination_list["id"] not in stats_bylist:" in "get_stats_by_list" method.

The line should be chaged to: "_if source_list_id not in stats_by_list or destination_list["id"] not in stats_bylist:"

There is no need to have NOT before "destination_list["id"]".

ddanielvaz commented 3 years ago

There is also a problem in computing the time of card has been in each List.

ddanielvaz commented 3 years ago

https://github.com/sarumont/py-trello/pull/339