From d01a37d8a71f027815022f7fbcb124b868d8eafc Mon Sep 17 00:00:00 2001 From: David Bryan Date: Fri, 18 Oct 2019 23:57:32 -0500 Subject: [PATCH] update --- proxmark3-web.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxmark3-web.py b/proxmark3-web.py index 91c981e..c9b170f 100755 --- a/proxmark3-web.py +++ b/proxmark3-web.py @@ -91,7 +91,7 @@ if(True): card = get_card_data(cardnumber.stdout.decode('ASCII')) print(card) current_time = datetime.now().isoformat(timespec='seconds') - print(current_time + ' _Card Used_ ' + card, file=open(logfile, "a")) + print(str(current_time) + ' _Card Used_ ' + card, file=open(logfile, "a")) return render_template('main.html', card_number=card['card_number'], oem=card['oem'], @@ -111,8 +111,8 @@ if(True): if('HID Prox TAG ID:' in cardnumber.stdout.decode('ASCII')): card = get_card_data(cardnumber.stdout.decode('ASCII')) print(card) - current_time=str(datetime.now().isoformat(timespec='seconds')) - print(current_time + ' _Card Used_ ' + card, file=open(logfile, "a")) + current_time=datetime.now().isoformat(timespec='seconds')) + print(str(current_time) + ' _Card Used_ ' + card, file=open(logfile, "a")) card_read=1 #return 'Hello, World!\n
Raw Card Number:' + raw_cardnumber + '
Card ID:' + card_number + ' FC:' + facility_code return render_template('main.html',