From 248b8031ad445611d6bfd5a21914fc3c98d754e8 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 2 Dec 2018 10:37:32 +0100 Subject: controller: Remove unused argument Has been replaced by handler a while ago. --- crocoite/controller.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'crocoite/controller.py') diff --git a/crocoite/controller.py b/crocoite/controller.py index 5f4fe10..8b25d1f 100644 --- a/crocoite/controller.py +++ b/crocoite/controller.py @@ -104,19 +104,18 @@ class ControllerStart: class SinglePageController: """ - Archive a single page url to file output. + Archive a single page url. Dispatches between producer (site loader and behavior scripts) and consumer (stats, warc writer). """ - __slots__ = ('url', 'output', 'service', 'behavior', 'settings', 'logger', 'handler') + __slots__ = ('url', 'service', 'behavior', 'settings', 'logger', 'handler') - def __init__ (self, url, output, logger, \ + def __init__ (self, url, logger, \ service, behavior=cbehavior.available, \ settings=defaultSettings, handler=[]): self.url = url - self.output = output self.service = service self.behavior = behavior self.settings = settings -- cgit v1.2.3