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

added check to ensure FEC from crosses in rows/cols before del #31

Merged
merged 2 commits into from
Aug 9, 2017

Conversation

aa6moham
Copy link
Contributor

@aa6moham aa6moham commented Aug 9, 2017

The title is pretty self-explanatory. If this check is not made, it results in a KeyError: 1

@@ -472,9 +472,9 @@ def out(self):
cross = self.crosses.get(self.position)
if cross:
del self.crosses[self.position]
if cross['col_sequence']:
if cross['col_sequence'] and cross['col_sequence'] in self.cols:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove trailing spaces or tabs? Thanks

@davidfischer-ch davidfischer-ch merged commit ba86a02 into davidfischer-ch:master Aug 9, 2017
@davidfischer-ch
Copy link
Owner

Thank you @abdultheprogrammer !

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