bugfix
This commit is contained in:
parent
05932f3bae
commit
f6cdb7343b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user