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

Changing <FITID> is not persisting at all #149

Open
jovanimoura opened this issue Mar 24, 2019 · 1 comment
Open

Changing <FITID> is not persisting at all #149

jovanimoura opened this issue Mar 24, 2019 · 1 comment

Comments

@jovanimoura
Copy link

jovanimoura commented Mar 24, 2019

Hello,

I'm trying to persiste some modifications on FITID, but when I open the file (*.ofx) nothing happens.

This my code:

import ofxparse
import datetime as dt

with open('/home/jovani/Downloads/ofx.ofx') as file:
    ofx = ofxparse.OfxParser.parse(file)
    transactions = ofx.account.statement.transactions
    for t in transactions:
        id = t.id
        id = dt.datetime.now().strftime("%Y%m%d%f")

Some help?

@deniserezende
Copy link

Did you find a way to fix this?

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

No branches or pull requests

2 participants