You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By simply changing this line in the client.py constructor the library could support not new-line terminated ids: self.my_id = my_id if my_id.endswith("\n") else my_id+"\n"
In my opinion this would improve compatibility as you typically don't have new-line terminated id strings if you use them in other parts of your application too.
If you happen to forget to the new-line termination, the whole library acts crazy, although it sometimes works as the next keepalive provides the new-line termination for the id.
The text was updated successfully, but these errors were encountered:
By simply changing this line in the client.py constructor the library could support not new-line terminated ids:
self.my_id = my_id if my_id.endswith("\n") else my_id+"\n"
In my opinion this would improve compatibility as you typically don't have new-line terminated id strings if you use them in other parts of your application too.
If you happen to forget to the new-line termination, the whole library acts crazy, although it sometimes works as the next keepalive provides the new-line termination for the id.
The text was updated successfully, but these errors were encountered: