forked from LBRYCommunity/lbry-sdk
pylint
This commit is contained in:
parent
e24d626b07
commit
2728b1ed60
1 changed files with 2 additions and 1 deletions
|
@ -314,7 +314,8 @@ class Daemon(AuthJSONRPCServer):
|
||||||
self.lbry_server_port = reactor.listenTCP(self.peer_port, server_factory)
|
self.lbry_server_port = reactor.listenTCP(self.peer_port, server_factory)
|
||||||
except error.CannotListenError as e:
|
except error.CannotListenError as e:
|
||||||
import traceback
|
import traceback
|
||||||
log.error("Couldn't bind to port %d. Visit lbry.io/faq/how-to-change-port for more details.", self.peer_port)
|
log.error("Couldn't bind to port %d. Visit lbry.io/faq/how-to-change-port for"
|
||||||
|
" more details.", self.peer_port)
|
||||||
log.error("%s", traceback.format_exc())
|
log.error("%s", traceback.format_exc())
|
||||||
raise ValueError("%s lbrynet may already be running on your computer.", str(e))
|
raise ValueError("%s lbrynet may already be running on your computer.", str(e))
|
||||||
return defer.succeed(True)
|
return defer.succeed(True)
|
||||||
|
|
Loading…
Reference in a new issue