Skip to content
Snippets Groups Projects
Commit c9326390 authored by Dave Hylands's avatar Dave Hylands Committed by Damien George
Browse files

tools/pydfu.py: Fix regression so tool runs under Python 2 again.

Under python3 (tested with 3.6.7) bytes with a list of integers as an
argument returns a different result than under python 2.7 (tested with
2.7.15rc1) which causes pydfu.py to fail when run under 2.7.  Changing
bytes to bytearray makes pydfu work properly under both Python 2.7 and
Python 3.6.
parent 4d850442
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment