git.ucc.asn.au
/
uccvend-vendserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MIFARE: better logging, thanks to [TRS] I think
[uccvend-vendserver.git]
/
sql-edition
/
servers
/
VendingMachine.py
diff --git
a/sql-edition/servers/VendingMachine.py
b/sql-edition/servers/VendingMachine.py
index
b7d747a
..
e96832a
100644
(file)
--- a/
sql-edition/servers/VendingMachine.py
+++ b/
sql-edition/servers/VendingMachine.py
@@
-190,7
+190,7
@@
class VendingMachine:
self.mifare_timeout = now + 0.5
mifare_uid = self.mifare.get_card_id()
if mifare_uid != None:
self.mifare_timeout = now + 0.5
mifare_uid = self.mifare.get_card_id()
if mifare_uid != None:
- logging.info('Got MIFARE card id %s'%(
st
r(mifare_uid)))
+ logging.info('Got MIFARE card id %s'%(
rep
r(mifare_uid)))
self.events.append((MIFARE, mifare_uid))
timeout = 0
if timeout == 0:
self.events.append((MIFARE, mifare_uid))
timeout = 0
if timeout == 0:
UCC
git Repository :: git.ucc.asn.au