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

Fix checksum operation #9

Merged
merged 3 commits into from
May 5, 2016
Merged

Fix checksum operation #9

merged 3 commits into from
May 5, 2016

Conversation

guilleJB
Copy link
Member

@guilleJB guilleJB commented May 5, 2016

No description provided.

@guilleJB guilleJB self-assigned this May 5, 2016
@guilleJB guilleJB added the bug label May 5, 2016
@@ -273,6 +273,8 @@ def checksum(self):
+ int(self.notice) \
+ self.amount100()
decimals = int(Decimal(sum) / 97 % 1 * 100)
if decimals == 0:
Copy link
Member

Choose a reason for hiding this comment

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

IMHO should be better if not decimals

@guilleJB guilleJB merged commit 647a04e into master May 5, 2016
@guilleJB guilleJB deleted the fix_checksum_operation branch May 5, 2016 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants