py-iMessage
py-iMessage copied to clipboard
getting response status and dictionary items throws an error
code is:
try: guid = imessage.send(testing_phone, message_to_Send)
sleep(5)
resp = imessage.status(guid)
print('status of message is: ', resp)
sleep(5)
print('Message was delivered at:', resp.get("date_delivered")
except Exception as e:
print('ERROR: ', str(e))
Error message is: "ERROR: unable to open database file"
Has this happened to anyone else or am I doing something wrong? Any help would be appreciated :)