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