Merge lp:~webreg-fd/nfcpy/fix into lp:nfcpy

Proposed by Frank Dawidowsky
Status: Merged
Approved by: Stephen Tiedemann
Approved revision: 7
Merged at revision: 7
Proposed branch: lp:~webreg-fd/nfcpy/fix
Merge into: lp:nfcpy
Diff against target: 11 lines (+1/-1)
1 file modified
nfc/tt3.py (+1/-1)
To merge this branch: bzr merge lp:~webreg-fd/nfcpy/fix
Reviewer Review Type Date Requested Status
Stephen Tiedemann Pending
Review via email: mp+24886@code.launchpad.net

Description of the change

Bugfix WriteFlag

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'nfc/tt3.py'
2--- nfc/tt3.py 2010-01-30 00:05:52 +0000
3+++ nfc/tt3.py 2010-05-07 10:15:39 +0000
4@@ -95,7 +95,7 @@
5 data += (len(blocks)*16 - len(data)) * '\x00'
6 self.tag.write(data[offset:], blocks)
7
8- self.attr[9] = 0x0F;
9+ self.attr[9] = 0x00; # Writing finished
10 self.attr[14:16] = split2(sum(self.attr[0:14]))
11 self.tag.write(''.join([chr(x) for x in self.attr]), [0])
12

Subscribers

People subscribed via source and target branches