Skip to content
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-3] - Disable previous behavior when status_map is cycle #7

Conversation

rafaelcassau
Copy link
Collaborator

@rafaelcassau rafaelcassau commented Jun 4, 2019

This PR solves this issue.

Basically I've added a new private method on StatusMap called _is_cycle(), when a StatusMap is initialized this method is called and save the result in a public variable called is_cycle, if this variable is True then the previous status is added on list usually as before, otherwise this step is ignored.

@lamenezes lamenezes merged commit ec0de5c into lamenezes:master Jun 5, 2019
@lamenezes
Copy link
Owner

Thx for your PR! This looks great! 🎉 🎩 🔝 ⚽

@rafaelcassau
Copy link
Collaborator Author

Thx for your PR! This looks great! tada tophat top soccer

Thanks to approve!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants