devartis / passbook

Python library to create Apple Passbook (.pkpass) files
http://www.devartis.com/
MIT License
272 stars 108 forks source link

passbook generates both numberStyle and currencyCode on the balance field #38

Open johnksterling opened 8 years ago

johnksterling commented 8 years ago

The passbook library is generating passes that are not loadable by IOS due to the fact that it defaults 'numberStyle' on a the balance header. This is reproduced by explicitly setting the currencyCode as shown in the unit tests in the attached PR.

I submitted pull #37 as a way to reproduce the problem with a possible fix. Thanks for your consideration.

John