This commit is contained in:
yumoqing 2021-02-14 13:13:21 +08:00
parent 05932f3bae
commit f6cdb7343b

View File

@ -123,8 +123,8 @@ class BlocksApp(App):
device_id = plyer.uniqueid.id
except:
pass
if isinstance(device,bytes):
device_id = device.decode('utf-8')
if isinstance(device_id,bytes):
device_id = device_id.decode('utf-8')
d = {
'device_id': device_id