ofxparse
ofxparse copied to clipboard
The header in a Wells Fargo .qfx file contains no newlines
OFXHEADER:100DATA:OFXSGMLVERSION:102SECURITY:NONEENCODING:USASCIICHARSET:1252COMPRESSION:NONEOLDFILEUID:NONENEWFILEUID:NONE
When such a header is found, insert a newline before each known key. If unknown key:values are added, they will end up appended to the preceding value and throw "ValueError: too many values to unpack" on the line.split() a few lines down.