Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bagas Udi Sahsangka committed Sep 8, 2021
1 parent 3750778 commit 091682e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uhf-reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ async def uhf_reader(gate):
continue

card_number = str(int(data[28:34], 16))
logging.info(f"{gate['nama']}: {data} / {card_number}")
logging.info(f"{gate['nama']}: {data[28:34]} / {card_number}")

# kalau di queue masih nomor yg sama baca ulang sampai dapat nomor yg baru
if on_queue == card_number:
Expand Down

0 comments on commit 091682e

Please sign in to comment.