diff options
author | morpheus65535 <[email protected]> | 2024-07-04 21:27:34 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2024-07-04 21:27:34 -0400 |
commit | 22ac838e9b60b0b7c0509d95f44843e5ce4abf48 (patch) | |
tree | b9f36a98d81af3ece2602fee1b51df7e57ec44dc /libs/knowit/utils.py | |
parent | 8beebce2e4db3411e23e7aff59788fcfdbf1753f (diff) | |
download | bazarr-22ac838e9b60b0b7c0509d95f44843e5ce4abf48.tar.gz bazarr-22ac838e9b60b0b7c0509d95f44843e5ce4abf48.zip |
Upgraded knowit to latest version to fix some long-lasting issue.
Diffstat (limited to 'libs/knowit/utils.py')
-rw-r--r-- | libs/knowit/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/knowit/utils.py b/libs/knowit/utils.py index 2bb0ed74b..4d80103ec 100644 --- a/libs/knowit/utils.py +++ b/libs/knowit/utils.py @@ -122,7 +122,7 @@ def build_path_candidates( def round_decimal(value: Decimal, min_digits=0, max_digits: typing.Optional[int] = None): - exponent = value.normalize().as_tuple().exponent + exponent = int(value.normalize().as_tuple().exponent) if exponent >= 0: return round(value, min_digits) |