From 990071af5c536424c04b81ea9ded3741d8f55080 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 20 Mar 2021 10:31:55 +0200 Subject: [PATCH] Fix issue with missed compat.path_to_unicode // Resolve #3894 --- platformio/compat.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platformio/compat.py b/platformio/compat.py index 5c20df3a..f3f79ea6 100644 --- a/platformio/compat.py +++ b/platformio/compat.py @@ -97,3 +97,11 @@ def ensure_python3(raise_exception=True): "https://docs.platformio.org/en/latest/core/migration.html" "#drop-support-for-python-2-and-3-5" ) + + +def path_to_unicode(path): + """ + Deprecated: Compatibility with dev-platforms, + and custom device monitor filters + """ + return path