Hello, I have this script:
message = f"From: {FROM}\nTo: {TO}\nSubject: {OGGETTO}\n\n{TEXT}"
in a file that starts every day in a scheduled task and it gives this error:
"File "/home/vittus/mysite/segnala_allerte.py", line 65 message = f"From: {FROM}\nTo: {TO}\nSubject: {OGGETTO}\n\n{TEXT}" ^ SyntaxError: invalid syntax"
but if I run it manually it works fine!!
I don't understand where is the mistake!
Thank you!