hplip-locale-format.patch 338 B

1234567891011121314
  1. diff --git a/base/utils.py b/base/utils.py
  2. index e2de550..55848b8 100644
  3. --- a/base/utils.py
  4. +++ b/base/utils.py
  5. @@ -474,7 +474,7 @@ def sort_dict_by_value(d):
  6. def commafy(val):
  7. - return locale.format("%s", val, grouping=True)
  8. + return locale.format_string("%s", val, grouping=True)
  9. def format_bytes(s, show_bytes=False):