From 23872c77e9c2bff1e2847dc2470d86f31b208595 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Tue, 17 Jan 2017 12:31:48 -0500 Subject: [PATCH] fix long lines --- lbrynet/lbrynet_daemon/Resources.py | 4 +++- lbrynet/lbrynet_daemon/auth/server.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lbrynet/lbrynet_daemon/Resources.py b/lbrynet/lbrynet_daemon/Resources.py index 3aee75d71..c0ad6f079 100644 --- a/lbrynet/lbrynet_daemon/Resources.py +++ b/lbrynet/lbrynet_daemon/Resources.py @@ -88,7 +88,9 @@ class HostedEncryptedFile(resource.Resource): d.addCallback(lambda sd_hash: self._api._get_lbry_file_by_sd_hash(sd_hash)) d.addCallback(lambda lbry_file: self._make_stream_producer(request, lbry_file)) elif request.args['name'][0] in self._api.waiting_on.keys(): - request.redirect(conf.settings.get_ui_address() + "/?watch=" + request.args['name'][0]) + request.redirect( + conf.settings.get_ui_address() + "/?watch=" + request.args['name'][0] + ) request.finish() else: request.redirect(conf.settings.get_ui_address()) diff --git a/lbrynet/lbrynet_daemon/auth/server.py b/lbrynet/lbrynet_daemon/auth/server.py index c80771424..1dad890b7 100644 --- a/lbrynet/lbrynet_daemon/auth/server.py +++ b/lbrynet/lbrynet_daemon/auth/server.py @@ -99,7 +99,8 @@ class AuthJSONRPCServer(AuthorizedBase): def __init__(self, use_authentication=None): AuthorizedBase.__init__(self) self._use_authentication = ( - use_authentication if use_authentication is not None else conf.settings['use_auth_http']) + use_authentication if use_authentication is not None else conf.settings['use_auth_http'] + ) self.announced_startup = False self.allowed_during_startup = [] self.sessions = {}