[FlashPy]: fix bugs for bool array.
[FlashPy]: fix bugs for bool array.

icoming/FlashX,icoming/FlashX,flashxio/FlashX,flashxio/FlashX,flashxio/FlashX,icoming/FlashX,icoming/FlashX,flashxio/FlashX,icoming/FlashX,flashxio/FlashX,flashxio/FlashX