Assign seps variable of Lang.format before using it
issue9585 review306331002
This commit is contained in:
1 parent
2a0fdf407e
commit
c2aee769f2
1 file changed
+1
@@ -452,6 +452,7 @@ class Lang(DeactivableMixin, ModelSQL, ModelView):
|
||||
if seps:
|
||||
formatted = _strip_padding(formatted, seps)
|
||||
elif percent[-1] in 'diu':
|
||||
seps = 0
|
||||
if grouping:
|
||||
formatted, seps = self._group(formatted, monetary=monetary)
|
||||
if seps:
|
||||
|
||||
Reference in new issue
Block a user