From e549a079010100212a99520d8abc04edf26abe6c Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 12 Feb 2022 23:01:20 +0200 Subject: [PATCH] Typo fix --- platformio/platform/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/platform/base.py b/platformio/platform/base.py index 38c9b4cf..c5d9d636 100644 --- a/platformio/platform/base.py +++ b/platformio/platform/base.py @@ -185,7 +185,7 @@ class PlatformBase( # pylint: disable=too-many-instance-attributes,too-many-pub options["pioframework"] = options["framework"] # override user custom packages self._custom_packages = options.get("platform_packages") - self.configure_default_packages(options, targets) + self.configure_default_packages(options, targets or []) def configure_default_packages(self, options, targets): # enable used frameworks