aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-09 13:35:33 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-09 13:35:33 +0100
commit7a3c694e4b62ea73df023fe8a675896bd70ce1e5 (patch)
treede35e2a9ccf7ae14276dc121ff9133a83d0845a8 /pyaggr3g470r/models
parentTest (diff)
downloadnewspipe-7a3c694e4b62ea73df023fe8a675896bd70ce1e5.tar.gz
newspipe-7a3c694e4b62ea73df023fe8a675896bd70ce1e5.tar.bz2
newspipe-7a3c694e4b62ea73df023fe8a675896bd70ce1e5.zip
Bug fix.
Diffstat (limited to 'pyaggr3g470r/models')
-rw-r--r--pyaggr3g470r/models/feed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/models/feed.py b/pyaggr3g470r/models/feed.py
index 24542c28..9002aec3 100644
--- a/pyaggr3g470r/models/feed.py
+++ b/pyaggr3g470r/models/feed.py
@@ -47,7 +47,7 @@ class Feed(db.Model):
# cache handling
etag = db.Column(db.String(), default="")
- last_modified = db.Column(db.String(), default="")
+ last_modified = db.Column(db.DateTime(), default=datetime.now)
last_retrieved = db.Column(db.DateTime(), default=datetime(1970, 1, 1))
# error logging
bgstack15