bitcraze / crazyflie-clients-python

Host applications and library for Crazyflie written in Python.
Other
301 stars 468 forks source link

Fix bug by making decimal input handling locale-independent #719

Closed gemenerik closed 2 months ago

gemenerik commented 2 months ago

This PR addresses a critical bug where decimal inputs in the plotter's X range values were not processed correctly in locales that use a comma as the decimal separator. By replacing commas with dots, we ensure that numeric inputs are handled consistently across all locales, making the application's numeric input processing locale-independent.

This update sidesteps the complexities associated with using the locale module, providing a straightforward but dirty solution to the issue.

gemenerik commented 2 months ago

Thanks for the reviews