From e0c8eb172491be4f56ed0221f2ad880c22a70097 Mon Sep 17 00:00:00 2001 From: klemek Date: Tue, 2 Jun 2026 23:41:12 +0200 Subject: [PATCH] fix(params): isdecimal instead of isnumeric --- stapler/params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stapler/params.py b/stapler/params.py index a44c31d..df29092 100644 --- a/stapler/params.py +++ b/stapler/params.py @@ -40,7 +40,7 @@ def __get_env_str(var: str, default: str) -> str: def __get_env_int(var: str, default: int) -> int: value = __get_env_str(var, str(default)) - if value.isnumeric(): + if value.isdecimal(): return int(value) return default