nedrysoft / regex101

A cross platform (macOS, Linux & Windows) unofficial "offline" version of the regex101.com website. Uses the users own database (any qt supported backend - sqlite, mysql, postgresql etc) to store expressions.
200 stars 36 forks source link

changed version comparison mechanism in deploy.py #9

Open kuseler opened 1 year ago

kuseler commented 1 year ago

The version comparison used to work by comparing the strings inside the tuple. This mechanism returned False, when it should have returned True for Python >= 3.10.x This behaviour is fixed by converting the strings to integers.