mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -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:
parent
4ad5c5f8f6
commit
06ae93270f
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user