plutopluto

git clone https://git.ce9e.org/plutopluto.git

commit
586324e45c65a7d5b9a91800b9debd48c59a484e
parent
f288197ce0e33fca43b3773152101f5f18f93e9f
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2014-09-25 17:49
pep8

Diffstat

M server.py 3 ++-

1 files changed, 2 insertions, 1 deletions


diff --git a/server.py b/server.py

@@ -36,7 +36,8 @@ def parse(url):
   36    36 
   37    37 	for item in feed.entries:
   38    38 		d = dict()
   39    -1 		d['dt'] = mktime(item['published_parsed']) if 'published_parsed'in item else int(time())
   -1    39 		d['dt'] = (mktime(item['published_parsed']) if 'published_parsed' in item
   -1    40 			else int(time()))
   40    41 		d['id'] = item['id']
   41    42 		d['title'] = item['title']
   42    43 		d['link'] = item['link']