mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-30 18:45:20 -04:00
pep8
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ class AssociatedPress(BasicNewsRecipe):
|
||||
cache[url] = None
|
||||
return None
|
||||
try:
|
||||
pub = datetime.fromisoformat(meta['content'].replace('Z', '+00:00'))
|
||||
pub = datetime.fromisoformat(meta['content'])
|
||||
except Exception as e:
|
||||
self.log.warn('AP bad published_time on', url, ':', e)
|
||||
cache[url] = None
|
||||
|
||||
Reference in New Issue
Block a user