Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: name 'messageID' is not defined #1

Closed
billyjbryant opened this issue Aug 10, 2021 · 2 comments
Closed

NameError: name 'messageID' is not defined #1

billyjbryant opened this issue Aug 10, 2021 · 2 comments

Comments

@billyjbryant
Copy link

By default, you get this error:

✦ ❯ python3 main.py
Traceback (most recent call last):
  File "main.py", line 30, in <module>
    dc29SignalChatReact = f'{dc29SignalChat}/{messageID}/reactions/%F0%9F%91%8D/%40me'
NameError: name 'messageID' is not defined
@rx13
Copy link
Owner

rx13 commented Aug 10, 2021

Check your version, I believe that was an issue on Saturday, but should've since been updated.

@rx13
Copy link
Owner

rx13 commented Aug 10, 2021

I cannot find a commit history with that specific version in it, but the format string prefix f is the issue there. It shouldn't be.

We call format on it later when it gets used for replies.
dc29SignalChatReact = '{dc29SignalChat}/{messageID}/reactions/%F0%9F%91%8D/%40me'

@rx13 rx13 closed this as completed Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants