Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed May 27, 2017
1 parent ff31b68 commit f524293
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions v7/continuous_import/continuous_import.py
Expand Up @@ -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)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit f524293

Please sign in to comment.