mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
e3cde00f98
commit
c577025037
@ -163,7 +163,7 @@ class Mediapart(BasicNewsRecipe):
|
||||
date = article.find('time', datetime=True)['datetime']
|
||||
article_date = datetime.strptime(date, '%Y-%m-%d')
|
||||
# Add French timezone to date of the article for date check
|
||||
article_date = article_date.replace(tzinfo=timezone.utc) + timedelta(hours=1)
|
||||
article_date = article_date.replace(tzinfo=timezone.utc) + timedelta(hours=1)
|
||||
if article_date < self.oldest_article_date:
|
||||
print("article_date < self.oldest_article_date\n")
|
||||
continue
|
||||
|
@ -22,7 +22,7 @@ from calibre.ebooks.metadata.book.formatter import SafeFormat
|
||||
from calibre.library.coloring import (displayable_columns, color_row_key)
|
||||
from calibre.gui2 import error_dialog, choose_files, pixmap_to_data
|
||||
from calibre.utils.localization import localize_user_manual_link
|
||||
from polyglot.builtins import native_string_type, unicode_type
|
||||
from polyglot.builtins import unicode_type
|
||||
|
||||
|
||||
class ParenPosition:
|
||||
|
Loading…
x
Reference in New Issue
Block a user