Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix module 'locale' has no attribute '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: python/cpython#94226 Signed-off-by: Damian Wrobel <[email protected]>
- Loading branch information