diff --git a/examples/bootloader/bootloader_config.py b/examples/bootloader/bootloader_config.py index 17c7d0d24..0967094ab 100755 --- a/examples/bootloader/bootloader_config.py +++ b/examples/bootloader/bootloader_config.py @@ -2,6 +2,7 @@ import depthai as dai import sys +import json usage = False read = True @@ -34,7 +35,7 @@ with dai.DeviceBootloader(info) as bl: if read: print('Current flashed configuration') - print(f'{bl.readConfigData()}') + print(json.dumps(bl.readConfigData())) else: success = None error = None