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 device_id = plyer.uniqueid.id
except: except:
pass pass
if isinstance(device,bytes): if isinstance(device_id,bytes):
device_id = device.decode('utf-8') device_id = device_id.decode('utf-8')
d = { d = {
'device_id': device_id 'device_id': device_id