From 0f2f97603d58c038cc069f11e7c4e0ae372e4892 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 7 May 2021 11:11:21 +0000 Subject: [PATCH] system: Do not take string apart This was converted incorrectly by 2to3 and returned a list instead of a string which is being fixed in this patch. Signed-off-by: Michael Tremer --- src/fireinfo/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fireinfo/system.py b/src/fireinfo/system.py index 63b67fc..4c0b0a3 100644 --- a/src/fireinfo/system.py +++ b/src/fireinfo/system.py @@ -337,7 +337,7 @@ class System(object, metaclass=Singleton): if s is None: return - return [x for x in s if x in string.printable] + return "".join([x for x in s if x in string.printable]) @property def vendor(self): -- 2.47.3