This commit is contained in:
Kovid Goyal 2013-08-23 17:45:35 +05:30
parent aa58f3a559
commit da8910bd90

View File

@ -88,7 +88,6 @@ class BonJour(SimplePlugin): # {{{
{'path':self.prefix+'/opds'}), {'path':self.prefix+'/opds'}),
] ]
def start(self): def start(self):
zeroconf_ip_address = verify_ipV4_address(self.ip_address) zeroconf_ip_address = verify_ipV4_address(self.ip_address)
try: try:
@ -110,7 +109,6 @@ class BonJour(SimplePlugin): # {{{
cherrypy.log.error('Failed to stop BonJour:') cherrypy.log.error('Failed to stop BonJour:')
cherrypy.log.error(traceback.format_exc()) cherrypy.log.error(traceback.format_exc())
stop.priority = 10 stop.priority = 10
cherrypy.engine.bonjour = BonJour(cherrypy.engine) cherrypy.engine.bonjour = BonJour(cherrypy.engine)