Fix copy/paste

This commit is contained in:
BTChip 2016-07-28 20:08:29 +02:00
parent bbcf6faaa0
commit da1b15b2de
2 changed files with 6 additions and 6 deletions

View File

@ -147,10 +147,10 @@ class IntelHexPrinter:
oldoff = off;
off += blocksize
bootAddrHex = hex(0x100000000+self.bootAddr)[3:]
file.write(":04000005"+bootAddrHex+hex(0x100+self.checksum( bytearray(("04000005"+bootAddrHex).decode('hex'))))[3:]+self.eol)
bootAddrHex = hex(0x100000000+self.bootAddr)[3:]
file.write(":04000005"+bootAddrHex+hex(0x100+self.checksum( bytearray(("04000005"+bootAddrHex).decode('hex'))))[3:]+self.eol)
file.write(":00000001FF"+self.eol)
file.write(":00000001FF"+self.eol)
file.close()
file.close()

View File

@ -7,7 +7,7 @@ from os.path import dirname, join
here = dirname(__file__)
setup(
name='ledgerblue',
version='0.1.3',
version='0.1.4',
author='Ledger',
author_email='hello@ledger.fr',
description='Python library to communicate with Ledger Blue/Nano S',