From ebf9d11f4d0f0f31d3f2653018f65a43d8943f9b Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 20 Nov 2015 10:42:19 -0500 Subject: [PATCH] Rename a class --- lbrynet/core/client/AutoDownloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/core/client/AutoDownloader.py b/lbrynet/core/client/AutoDownloader.py index 724ad7d55..5ebcea353 100644 --- a/lbrynet/core/client/AutoDownloader.py +++ b/lbrynet/core/client/AutoDownloader.py @@ -11,7 +11,7 @@ from lbrynet.core.StreamDescriptor import download_sd_blob log = logging.getLogger(__name__) -class AutoAddStreamFromLBRYcrdName(object): +class AutoAddStream(object): def __init__(self, console, sd_identifier, session, wallet, lbry_file_manager, max_key_fee): self.finished_deferred = defer.Deferred(None) self.console = console @@ -193,7 +193,7 @@ class AutoFetcher(object): if claims: for claim in claims: download = defer.Deferred() - stream = AutoAddStreamFromLBRYcrdName(self.console, self.sd_identifier, self.session, + stream = AutoAddStream(self.console, self.sd_identifier, self.session, self.wallet, self.lbry_file_manager, self.max_key_fee) download.addCallback(lambda _: stream.start(claim)) download.callback(None)