aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-10 14:28:47 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-10 14:28:47 +0100
commit6217315aae1392bc6c2e1881ba8e763def40969a (patch)
tree6fb4c81739d10cfc2e4d1b8d8aa346a6812d4290 /pyaggr3g470r/models
parentBug fix. (diff)
downloadnewspipe-6217315aae1392bc6c2e1881ba8e763def40969a.tar.gz
newspipe-6217315aae1392bc6c2e1881ba8e763def40969a.tar.bz2
newspipe-6217315aae1392bc6c2e1881ba8e763def40969a.zip
changed the type of the column 'last_modified' to string.
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 c80f302c..ccc8094f 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.DateTime(), default=datetime.now)
+ last_modified = db.Column(db.String(), default="")
last_retrieved = db.Column(db.DateTime(), default=datetime(1970, 1, 1))
# error logging
bgstack15