encode strings to utf-8 in ServiceInfo by jgrill · Pull Request #10 · python-zeroconf/python-zeroconf · GitHub
Skip to content

encode strings to utf-8 in ServiceInfo - #10

Closed
jgrill wants to merge 1 commit into
python-zeroconf:masterfrom
jgrill:master
Closed

jgrill wants to merge 1 commit into
python-zeroconf:masterfrom
jgrill:master

Conversation

@jgrill

@jgrill jgrill commented Dec 1, 2014

Copy link
Copy Markdown

I found that properties dict values registered as "False" rather than the intended string value, such as "path" in the provided examples.

eg.

Service Paul's Test Web Site._http._tcp.local. added
Type is _http._tcp.local.
Address is 10.0.1.2:80
Weight is 0, Priority is 0
Server is ash-2.local.
Properties are
path: False

I found that properties dict values registered as "False" rather than the intended string value, such as "path" in the provided examples.

eg.

Service Paul's Test Web Site._http._tcp.local. added
  Type is _http._tcp.local.
  Address is 10.0.1.2:80
  Weight is 0, Priority is 0
  Server is ash-2.local.
  Properties are
    path: False
@coveralls

Copy link
Copy Markdown

@jstasiak

Copy link
Copy Markdown
Collaborator

@jstasiak jstasiak closed this Dec 12, 2014
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

Successfully merging this pull request may close these issues.

4 participants