mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-16 09:10:35 +03:00
Slightly more paranoia in that NSCFArray check
This commit is contained in:
parent
6a4ab10cd4
commit
87c88b80ea
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user