nvidia-sniper icon indicating copy to clipboard operation
nvidia-sniper copied to clipboard

Post Code not automatically converted to correct format

Open AdmiralJunkie opened this issue 4 years ago • 2 comments

Noticed that order didn't go ahead and froze the script due to UK postcode not having a space in the middle of it. Would be useful if either postcodes were automatically formatted to the correct format accepted by the site, or put it in the read me file a notification for users to check what format their postcode needs to be in on the site before writing it into the customer.json file.

AdmiralJunkie avatar Oct 01 '20 18:10 AdmiralJunkie

Oh my fucking god....me too man. Missed the notification since i was putting my kid to bed. Im devestated.

LonleyViper avatar Oct 01 '20 18:10 LonleyViper

The easiest fix here would likely be to update the README to make it very clear to follow the official format for post codes where you live. I'm not from the UK, but I imagine people have gotten used to omitting the space because lots of websites don't care about it.

There are modules which can be imported that claim to be able to parse out and normalize UK post codes, but the most popular one requires compilation of some C libraries first.

krcm0209 avatar Oct 05 '20 14:10 krcm0209