@ryanbuckner said in Not a module but a way to get info from Life360:
ImportError: cannot import name ‘life360’ from partially initialized module ‘life360’
Do you find a solution for this?
Also I modified the location as internationalcharacters were breaking the location name display
change
if m[‘location’][‘name’]is not None:
print “ ” , m[‘location’][‘name’] + “”
To:
if m['location']['name']is not None:
locname = m['location']['name'].encode('ascii', 'ignore').decode('ascii')
print ("<TD> </TD><TD style='color:#ffff00;'>" , locname + "</TD>")