From ddf7bb70032288e2ddadcba8007f282815eaee7c Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 27 Nov 2016 20:31:47 +0100 Subject: [PATCH] Another decode approach --- python/adeunisrf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/adeunisrf.py b/python/adeunisrf.py index 2054f69..0e02783 100644 --- a/python/adeunisrf.py +++ b/python/adeunisrf.py @@ -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 = []