From 3f8e8b957c8d420deb55ac69aced44a828325bfb Mon Sep 17 00:00:00 2001 From: Krut Patel Date: Fri, 14 Jun 2024 19:51:02 -0700 Subject: [PATCH] Change default value of variable Works around a bug in Nuitka- https://github.com/Nuitka/Nuitka/issues/2101 --- guessit/rules/common/numeral.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guessit/rules/common/numeral.py b/guessit/rules/common/numeral.py index fa698322..35be546d 100644 --- a/guessit/rules/common/numeral.py +++ b/guessit/rules/common/numeral.py @@ -36,7 +36,7 @@ def __build_word_numeral(*args): :return: :rtype: """ - re_ = None + re_ = '' for word_list in args: for word in word_list: if not re_: