This commit is contained in:
yumoqing 2021-02-14 12:50:02 +08:00
parent 121c16d311
commit 05932f3bae

View File

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