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

Error - missing argument for password #5

Open
dneven opened this issue Sep 30, 2018 · 0 comments
Open

Error - missing argument for password #5

dneven opened this issue Sep 30, 2018 · 0 comments

Comments

@dneven
Copy link

dneven commented Sep 30, 2018

Got an error while trying to send message with

./unipager_send.py --hostname 192.168.178.21 --debug --ric 123456 --msg "Test"

Output:

Debug enabled
Traceback (most recent call last):
  File "./unipager_send.py", line 86, in <module>
    ws.send('{"Authenticate":"' + password + '"}')
TypeError: cannot concatenate 'str' and 'NoneType' objects

As workaround i used to change default=None to default='' for password argument.

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

1 participant