From 87c88b80ea27b1d8dd211fb0cb7170dcf4f021b2 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sat, 13 Mar 2021 16:51:15 +0000 Subject: [PATCH] Slightly more paranoia in that NSCFArray check --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 4db4e127..3c1e9dbb 100644 --- a/config.py +++ b/config.py @@ -587,7 +587,7 @@ class MacConfig(AbstractConfig): # # If we can find where to import the definition of NSCFArray # then we could possibly test against that. - if res and not isinstance(res, str) and not isinstance(res, int): + if res is not None and not isinstance(res, str) and not isinstance(res, int): return list(res) return res