diff options
Diffstat (limited to 'awxkit')
-rw-r--r-- | awxkit/awxkit/cli/format.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/awxkit/awxkit/cli/format.py b/awxkit/awxkit/cli/format.py index e7629a4b69..de2de47262 100644 --- a/awxkit/awxkit/cli/format.py +++ b/awxkit/awxkit/cli/format.py @@ -185,7 +185,7 @@ def format_human(output, fmt): def format_num(v): try: - return locale.format("%.*f", (0, int(v)), True) + return locale.format_string("%.*f", (0, int(v)), True) except (ValueError, TypeError): if isinstance(v, (list, dict)): return json.dumps(v) |