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

ofxstatement edit-config #12

Open
kintaro1981 opened this issue Feb 6, 2021 · 0 comments
Open

ofxstatement edit-config #12

kintaro1981 opened this issue Feb 6, 2021 · 0 comments

Comments

@kintaro1981
Copy link

Is it possible to use ofxstatement edit-config?

I would like to set:
memo2payee = False

I don't want to overwrite fineco.py

I tried writing something like this:

[fineco]
memo2payee = False
plugin = fineco

and commented memo2payee = True in fineco.py

I'm getting:

Traceback (most recent call last):
  File "/usr/local/bin/ofxstatement", line 8, in <module>
    sys.exit(run())
  File "/usr/local/lib/python3.9/site-packages/ofxstatement/tool.py", line 195, in run
    return args.func(args)
  File "/usr/local/lib/python3.9/site-packages/ofxstatement/tool.py", line 166, in convert
    statement = parser.parse()
  File "/usr/local/lib/python3.9/site-packages/ofxstatement/plugins/fineco.py", line 136, in parse
    return super(FinecoStatementParser, self).parse()
  File "/usr/local/lib/python3.9/site-packages/ofxstatement/parser.py", line 46, in parse
    stmt_line = self.parse_record(line)
  File "/usr/local/lib/python3.9/site-packages/ofxstatement/plugins/fineco.py", line 220, in parse_record
    if self.memo2payee:
AttributeError: 'FinecoStatementParser' object has no attribute 'memo2payee'

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

No branches or pull requests

2 participants