Closed n4ch0m4n closed 2 days ago
Sorry, but I can't reproduce it. In addition these hyphenations were done by autopep8. What version of Python are you using?
Sorry, but I can't reproduce it. In addition these hyphenations were done by autopep8. What version of Python are you using?
python3.10 and 3.11, the same error 10 y 11
Does commit https://github.com/ventureoo/jabagram/commit/592205d8cfc07a584a438c89638047815f0a84a9 fixes it for you?
This error:
File "/home/me/Bots/jabagram/jabagram/telegram.py", line 155 params["text"] = f"{formatted_reply}\n{ ^ SyntaxError: unterminated string literal (detected at line 155)
notice that in line 155, 220, 258 and 496 there are line jumps that when running the script makes mistake.
for example in line 155 the solution instead of:
params["text"] = f"{formtted_reply}\n{ message.sender}: {message.content}"
should go:
params["text"] = f"{formatted_reply}\n{ message.sender}: message.content}"