mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-08 16:36:25 +02:00
Explicit unload() 'destructor'
This commit is contained in:
parent
3717cb2563
commit
bbec77f248
3 changed files with 31 additions and 4 deletions
1
runme.py
1
runme.py
|
@ -11,5 +11,6 @@ try:
|
|||
print "Closing device"
|
||||
nfc.close()
|
||||
print "Device is opened:", nfc.opened()
|
||||
nfc.unload()
|
||||
except NFCError, e:
|
||||
print "Reading UID failed:", e.what()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue