-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with "get_stats_by_list" method in class "card" #315
Comments
There is also a problem in computing the time of card has been in each List. |
ddanielvaz
added a commit
to ddanielvaz/py-trello
that referenced
this issue
Jun 18, 2021
Fixing identation when checking last_list (comment was idented correctly, but code not). Fixing the calculation of the time that card has been on a list, correcting last_action_datetime update value by putting it before if/continue statement.
Closed
sarumont
pushed a commit
that referenced
this issue
Jan 26, 2023
Fixing identation when checking last_list (comment was idented correctly, but code not). Fixing the calculation of the time that card has been on a list, correcting last_action_datetime update value by putting it before if/continue statement.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a typo in line: "if source_list_id not in stats_by_list or not destination_list["id"] not in stats_by_list:" 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_by_list:"
There is no need to have NOT before "destination_list["id"]".
The text was updated successfully, but these errors were encountered: