Skripta, ki prevede XML poročilo trgovalnih poslov v platformi InteractiveBrokers v XML format primeren za uvoz v obrazce Doh-KDVP, D-IFI, Doh-Div in Doh-Obr v eDavkih Finančne uprave.
MIT License
173
stars
57
forks
source link
Fixed: always check only for the first ib affiliates #127
I noticed this as well. My suggestion is to de-indent by one more step, so that it is outside the if os.path.isfile("ib-affiliates.xml") in case the file cannot be created for some reason.
In the previous version of the code,
getIbAffiliateInfo()
returned empty data if the first entry inibAffiliateInfos
had a different code.