Skip to content
Permalink
Browse files

Simplify

  • Loading branch information
Juanjo Conti
Juanjo Conti committed Sep 2, 2015
1 parent fa2f28d commit 079e80be43242f7922eddf5330a41c118c46af65
Showing with 2 additions and 11 deletions.
  1. +2 −11 v7/import_goodreads/import_goodreads.py
@@ -119,16 +119,7 @@ def import_item(self, item):

self.write_metadata(
os.path.join(self.output_folder, slug + '.meta'),
title, slug, post_date, '', tags)
title, slug, post_date.strftime(r'%Y/%m/%d %H:%m:%S'), '', tags)
self.write_content(
os.path.join(self.output_folder, slug + '.html'),
content)

@staticmethod
def write_metadata(filename, title, slug, post_date, description, tags):
ImportMixin.write_metadata(filename,
title,
slug,
post_date.strftime(r'%Y/%m/%d %H:%m:%S'),
description,
tags)
content)

0 comments on commit 079e80b

Please sign in to comment.
You can’t perform that action at this time.