ATR: align get_atr() return value type

type annotations claimed the return type was Hexstr, but in reality
it was a list of integers.  Let's fix that.

Change-Id: I01b247dad40ec986cf199302f8e92d16848bd499
Closes: OS#6322
This commit is contained in:
Harald Welte
2025-01-29 12:08:03 +01:00
committed by Philipp Maier
parent d871e4696f
commit 08ba187fd4
6 changed files with 19 additions and 21 deletions

View File

@@ -141,7 +141,7 @@ class RuntimeState:
continue
del self.lchan[lchan_nr]
self.adm_verified = False
atr = i2h(self.card.reset())
atr = self.card.reset()
if cmd_app:
cmd_app.lchan = self.lchan[0]
# select MF to reset internal state and to verify card really works