Another decode approach
This commit is contained in:
parent
cf4cd8cf40
commit
ddf7bb7003
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ def decode_adeunis(provider, pkg):
|
|||
|
||||
# ttn -> base64 encoded
|
||||
if provider == "ttn":
|
||||
payload = base64.b64decode(payload)
|
||||
binascii.b2a_hex(binascii.a2b_base64(payload))
|
||||
|
||||
res = []
|
||||
|
||||
|
|
Loading…
Reference in a new issue