diff --git a/examples/bluetooth/nimble/blehr/blehr_test.py b/examples/bluetooth/nimble/blehr/blehr_test.py index 59e7cdb9b7..765c05f649 100644 --- a/examples/bluetooth/nimble/blehr/blehr_test.py +++ b/examples/bluetooth/nimble/blehr/blehr_test.py @@ -19,9 +19,13 @@ import os import re import threading import traceback -import Queue import subprocess +try: + import Queue +except ImportError: + import queue as Queue + from tiny_test_fw import Utility import ttfw_idf from ble import lib_ble_client