From 683de68fb7cb7943125437b21f6b1350325e93ea Mon Sep 17 00:00:00 2001 From: "Jip J. Dekker" Date: Sun, 8 Jun 2014 13:08:37 +0200 Subject: [PATCH] Added tests and fixed the output settings --- utils/configurator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/configurator.py b/utils/configurator.py index 2b458b6..90e0320 100644 --- a/utils/configurator.py +++ b/utils/configurator.py @@ -21,7 +21,7 @@ class Configurator: """ if filename != 'results.*format*': - self.scrapy_settings.overrides["FEED_URI"] = fileformat + self.scrapy_settings.overrides["FEED_URI"] = filename elif fileformat == "jsonlines": self.scrapy_settings.overrides["FEED_URI"] = "results.json" elif fileformat is not None: