diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-02-19 18:23:09 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-02-19 18:23:09 +0100 |
commit | f9efa9c19d4003e15c4cbe992999f0a1de45428d (patch) | |
tree | f05f2fd4a56182fa51670cb82705fa05dbe7fb50 /pyaggr3g470r/crawler.py | |
parent | Typo. (diff) | |
download | newspipe-f9efa9c19d4003e15c4cbe992999f0a1de45428d.tar.gz newspipe-f9efa9c19d4003e15c4cbe992999f0a1de45428d.tar.bz2 newspipe-f9efa9c19d4003e15c4cbe992999f0a1de45428d.zip |
It is now unseless to test the value of article.date at this point.
Diffstat (limited to 'pyaggr3g470r/crawler.py')
-rw-r--r-- | pyaggr3g470r/crawler.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pyaggr3g470r/crawler.py b/pyaggr3g470r/crawler.py index 1cfe5827..3309f4ab 100644 --- a/pyaggr3g470r/crawler.py +++ b/pyaggr3g470r/crawler.py @@ -181,8 +181,6 @@ def insert_database(user, feed): if exist: #logger.debug("Article %r (%r) already in the database.", article.title, article.link) continue - if article.date is None: - article.date = datetime.now(dateutil.tz.tzlocal()) new_articles.append(article) try: feed.articles.append(article) |