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

Stray quotation character in last caller info #12

Open
cuppa-joe opened this issue Jan 20, 2022 · 0 comments
Open

Stray quotation character in last caller info #12

cuppa-joe opened this issue Jan 20, 2022 · 0 comments

Comments

@cuppa-joe
Copy link

On my device (OBI200), the format of the last caller info string is: 'CALLER ID NAME' 1XXXXXXXXXX

The strip method currently used only removes leading and trailing characters from the string, so the single quote after the caller id name is never removed.

Replacing the current code:
services[subtitle + " Last Caller Info"] = state.strip("\' ")

with:
services[subtitle + " Last Caller Info"] = state.replace("\' ", "")

removes all single quote characters regardless of location.

ejpenney added a commit to ejpenney/pyobihai that referenced this issue Mar 5, 2023
ejpenney added a commit to ejpenney/pyobihai that referenced this issue Mar 5, 2023
ejpenney added a commit to ejpenney/pyobihai that referenced this issue Mar 5, 2023
ejpenney added a commit to ejpenney/pyobihai that referenced this issue Mar 7, 2023
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