Explicit unload() 'destructor'

This commit is contained in:
Ondrej Mikle 2014-07-19 20:09:05 +02:00
parent 3717cb2563
commit bbec77f248
3 changed files with 31 additions and 4 deletions

View file

@ -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()