summaryrefslogtreecommitdiff
path: root/py/persistentcode.h
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2018-12-28 12:17:40 -0800
committerDamien George <damien.p.george@gmail.com>2018-12-30 01:20:48 +1100
commitc93263906307f208f47cb5885ed091e9e1d617c4 (patch)
tree3550ec3900b85bbe51c18c999c4d4d5e3be05fcf /py/persistentcode.h
parent4d8504425a1b43a9b90a9a3b7a596e919b8cdb67 (diff)
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.
Diffstat (limited to 'py/persistentcode.h')
0 files changed, 0 insertions, 0 deletions