From 384a5ef2ae47617c3624c259894fc170bd96479f Mon Sep 17 00:00:00 2001 From: Daniel Sarpong Date: Thu, 19 Oct 2023 09:17:57 +0000 Subject: [PATCH] Update src/humanize/i18n.py Co-authored-by: Hugo van Kemenade --- src/humanize/i18n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/humanize/i18n.py b/src/humanize/i18n.py index ea49585e..e391b9f4 100644 --- a/src/humanize/i18n.py +++ b/src/humanize/i18n.py @@ -123,7 +123,7 @@ def _ngettext(message: str, plural: str, num: int) -> str: Returns: str: Translated text. """ - return get_translation().ngettext(message, plural, int(num)) + return get_translation().ngettext(message, plural, num) def _gettext_noop(message: str) -> str: