BastilleResearch / mousejack

MouseJack device discovery and research tools
GNU General Public License v3.0
1.3k stars 254 forks source link

Data Type issue? #51

Open addisonh22 opened 2 years ago

addisonh22 commented 2 years ago

Ran the usb-flash.py scipt through 2to3 and fixed the USB to pyusb. Now getting an error that says: sudo make install ./prog/usb-flasher/usb-flash.py bin/dongle.bin Traceback (most recent call last): File "/home/mousejack/nrf-research-firmware/./prog/usb-flasher/usb-flash.py", line 53, in <module> data += '\000' * (512 - len(data) % 512) TypeError: can't concat str to bytes make: *** [Makefile:27: install] Error 1

Any way to fix this?