mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-05-12 11:22:59 -07:00
cli: Fix cmd_parameter generation for nested for python 3.9 (#205)
Signed-off-by: Peter-Simon Dieterich <peter-simon.dieterich@vaillant-group.com>
This commit is contained in:
@@ -704,7 +704,7 @@ class HFMFNested(ReaderRequiredUnit):
|
||||
if nt_level == 0: # It's a staticnested tag?
|
||||
nt_uid_obj = self.cmd.mf1_static_nested_acquire(
|
||||
block_known, type_known, key_known, block_target, type_target)
|
||||
cmd_param = f"{nt_uid_obj['uid']} {str(type_target)}"
|
||||
cmd_param = f"{nt_uid_obj['uid']} {int(type_target)}"
|
||||
for nt_item in nt_uid_obj['nts']:
|
||||
cmd_param += f" {nt_item['nt']} {nt_item['nt_enc']}"
|
||||
tool_name = "staticnested"
|
||||
|
||||
Reference in New Issue
Block a user