bitcraze / crazyflie-clients-python

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

Fixed regex bug in file dialog #638

Closed victorhook closed 1 year ago

victorhook commented 1 year ago

There was a bug when trying to open the config file in the loco tab where the .yaml file couldn't be seen. This was caused by a small regex bug in the code. This PR fixes the bug and replaces the regex by a variable since the regex is used at multiple places, so we now only have to change it on one place if needed in the future.