jseutter / ofxparse

Ofx file format parser for Python
http://sites.google.com/site/ofxparse/
MIT License
204 stars 121 forks source link

Changing <FITID> is not persisting at all #149

Open jovanimoura opened 5 years ago

jovanimoura commented 5 years ago

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 commented 1 year ago

Did you find a way to fix this?