We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60ee531 commit 4eff679Copy full SHA for 4eff679
platform.py
@@ -117,9 +117,11 @@ def safe_copy_file(src: str, dst: str) -> bool:
117
return True
118
119
120
-def has_valid_sdkconfig(config_value: str) -> bool:
+def has_valid_sdkconfig(config_value) -> bool:
121
"""Check if sdkconfig value is valid and non-empty."""
122
- return bool(config_value and config_value.strip())
+ if not config_value:
123
+ return False
124
+ return bool(config_value.strip())
125
126
127
class Espressif32Platform(PlatformBase):
0 commit comments