Skip to content
Permalink
Browse files

lint

  • Loading branch information
ralsina committed May 27, 2017
1 parent ff31b68 commit f524293e8abc25287f256007b1fddb9bed318bce
Showing with 2 additions and 3 deletions.
  1. +2 −3 v7/continuous_import/continuous_import.py
@@ -27,13 +27,12 @@
"""Create a new site."""

from __future__ import print_function, unicode_literals
import io
import os

import feedparser

from nikola.plugin_categories import Command
from nikola.utils import get_logger, STDERR_HANDLER, slugify, LocaleBorg, makedirs
from nikola.utils import get_logger, STDERR_HANDLER, slugify


LOGGER = get_logger('init', STDERR_HANDLER)
@@ -76,7 +75,7 @@ def generate(self, item, feed):
compiler = self.site.compilers[feed['format']]
title = self.get_data(item, feed['metadata']['title'])
output_name = os.path.join(feed['output_folder'],
slugify(title, feed['lang'])) + compiler.extension()
slugify(title, feed['lang'])) + compiler.extension()
content = self.site.render_template(
feed['template'],
None,

0 comments on commit f524293

Please sign in to comment.