From a6d42bedc10d784da47653abb4e3ba902c3abc12 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 12 Aug 2019 23:00:25 +0300 Subject: [PATCH] Minor fix --- platformio/fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/fs.py b/platformio/fs.py index 25883d78..7cca5844 100644 --- a/platformio/fs.py +++ b/platformio/fs.py @@ -108,7 +108,7 @@ def ensure_udev_rules(): def path_endswith_ext(path, extensions): - if not isinstance(extensions, list): + if not isinstance(extensions, (list, tuple)): extensions = [extensions] for ext in extensions: if path.endswith("." + ext):