mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-23 23:32:32 -04:00
Take out forcing the description string to byte. It probably comes in as unicode, so leave it like that.
This commit is contained in:
@@ -91,7 +91,7 @@ def create_service(desc, type, port, properties, add_hostname, use_ip_address=No
|
||||
|
||||
if add_hostname:
|
||||
try:
|
||||
desc += b' (on %s)'%hostname
|
||||
desc += ' (on %s)'%hostname
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user