Fixes the following error on python 3.12:
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/qtvcp/widgets/origin_offsetview.py",
line 383, in periodic_check
self.reload_offsets()
File "/usr/lib/python3.12/site-packages/qtvcp/widgets/origin_offsetview.py",
line 270, in reload_offsets
degree_tmpl = "%{}.2f".format(len(locale.format(tmpl, 0)))
^^^^^^^^^^^^^
AttributeError: module 'locale' has no attribute 'format'. Did you mean: '_format'?
Fixes the following error on python 3.12: Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/qtvcp/widgets/origin_offsetview.py", line 383, in periodic_check self.reload_offsets() File "/usr/lib/python3.12/site-packages/qtvcp/widgets/origin_offsetview.py", line 270, in reload_offsets degree_tmpl = "%{}.2f".format(len(locale.format(tmpl, 0))) ^^^^^^^^^^^^^ AttributeError: module 'locale' has no attribute 'format'. Did you mean: '_format'?
See also: https://github.com/python/cpython/issues/94226