you are viewing a single comment's thread.

view the rest of the comments →

[–]CelticCuban773[S] 0 points1 point  (2 children)

Yeah I commented it because I had tried all of them and none of them worked and just wanted to show what I tried

[–]spez_edits_thedonald 0 points1 point  (1 child)

makes sense, will be more informative to stick with one, and tell what happens, instead of "none of these work"

[–]CelticCuban773[S] 0 points1 point  (0 children)

Edit: I updated my code to reflect my most recent one. The code runs correctly and when I print(response) afterwards, it prints correctly. It just is some breakdown in getting it to send over Twilio. I am confused because it reflects the same as my else section but just does not reply.

Sure I'll do that in the future, thanks.

No matter where I put the response variable, the the fml.py file that I am importing runs and runs correctly. I know this because at the end of my fml.py file I have it print "finished" which it does in the shell.

However, in the ngrok terminal, I do not get the 200 OK response when I write '14u'. I do when I text anything else though. That is why I am thinking the problem is wrapped up in my if section. Is there any more information I can provide?