jseutter/ofxparse

Changing <FITID> is not persisting at all

Opened this issue · 1 comments

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?

Did you find a way to fix this?