mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
fb2bb90d3a
@ -115,9 +115,12 @@ def create_service(desc, type, port, properties, add_hostname, use_ip_address=No
|
|||||||
|
|
||||||
if add_hostname:
|
if add_hostname:
|
||||||
try:
|
try:
|
||||||
desc += ' (on %s)'%hostname
|
desc += ' (on %s port %d)'%(hostname, port)
|
||||||
except:
|
except:
|
||||||
pass
|
try:
|
||||||
|
desc += ' (on %s)'%hostname
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
if use_ip_address:
|
if use_ip_address:
|
||||||
local_ip = use_ip_address
|
local_ip = use_ip_address
|
||||||
|
Loading…
x
Reference in New Issue
Block a user