@ -46,7 +46,7 @@ if __name__ == '__main__':
while True:
print "Enter card ID:"
cardID_input = keyboard.record(until='enter')
cardID = keyboard.get_typed_strings(cardID_input)[0]
cardID = keyboard.get_typed_strings(cardID_input).next()
event = {}
event["time"] = time.time()
event["cardID"] = cardID