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

Savings accounts #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Savings accounts #1

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 19, 2011

Despite the fact that Co-op/Smile html statements for savings accounts are almost identical to those for current accounts, trying to scrape a savings account with the --current switch didn't work. Investigation showed that this is because the account number is scraped by looking for 'Current Account', whereas for savings accounts this should be 'Priv Savings' or 'Savings' or some such name.

I considered passing in an option for savings or current and using all the current code, but I liked the segmentation of code and tests for different types of accounts. Also, the OFX account type for a savings account should be 'SAVINGS' instead of 'CHECKING'. Because of these two changes, and a desire to keep the code logical, if a bit duplicated, I copied the current code, modifying it to make it work with savings.

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.

0 participants