Removed unnecessary pylint disable
This commit is contained in:
parent
8e0f193668
commit
e32917ad0a
1 changed files with 1 additions and 3 deletions
|
|
@ -400,9 +400,7 @@ class PortalBase:
|
|||
string = func(values[value_index])
|
||||
else:
|
||||
try:
|
||||
string = "{:,d}".format(
|
||||
int(values[value_index])
|
||||
) # pylint: disable=consider-using-f-string
|
||||
string = "{:,d}".format(int(values[value_index]))
|
||||
except (TypeError, ValueError):
|
||||
string = values[value_index] # ok it's a string
|
||||
self._fetch_set_text(string, index=i)
|
||||
|
|
|
|||
Loading…
Reference in a new issue