From e99172fbac3540c6d5afee74c182dc512fdd6d67 Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Wed, 6 May 2020 12:00:52 +0800 Subject: [PATCH] make upper_list do not make str into list --- tools/ci/python_packages/ttfw_idf/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/python_packages/ttfw_idf/__init__.py b/tools/ci/python_packages/ttfw_idf/__init__.py index 96fc07cdd5..235dbdab2c 100644 --- a/tools/ci/python_packages/ttfw_idf/__init__.py +++ b/tools/ci/python_packages/ttfw_idf/__init__.py @@ -41,7 +41,7 @@ def upper_list(text): if not text: return text if isinstance(text, string_type): - res = [text.upper()] + res = text.upper() else: res = [item.upper() for item in text] return res