Skip to content
Permalink
Browse files
flake8
  • Loading branch information
Kwpolska committed Jan 27, 2015
1 parent ed6eb90 commit c42c605c11bd58d2ec6c8511ed9b86546449017d
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright © 2014,2015 Miguel Ángel García
# Copyright © 2014, 2015 Miguel Ángel García

# Permission is hereby granted, free of charge, to any
# person obtaining a copy of this software and associated
@@ -151,7 +151,7 @@ def _import_posts(self):
class JekyllPostImport(object):
def import_file(self, path):
def new_filename(filename):
_, ext = os.path.splitext(filename)
_, ext = os.path.splitext(filename)
return '{0}{1}'.format(slugify_file(filename), ext)

jmetadata, jcontent = self._split_metadata(path)

0 comments on commit c42c605

Please sign in to comment.