aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2015-02-17 19:44:58 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2015-02-17 19:44:58 -0600
commitd180c131c34e3c3142253f7d97f614d4826902ab (patch)
tree02270cb85c09e12bd67f68786f6e7eaaaadeb3fb
parentf3c5d01199ca23b949cbeab99f08a12a2b409803 (diff)
downloadmediagoblin-d180c131c34e3c3142253f7d97f614d4826902ab.tar.lz
mediagoblin-d180c131c34e3c3142253f7d97f614d4826902ab.tar.xz
mediagoblin-d180c131c34e3c3142253f7d97f614d4826902ab.zip
acess_token->access_token
-rw-r--r--mediagoblin/db/migrations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/db/migrations.py b/mediagoblin/db/migrations.py
index 1ef5f9cb..8e54953e 100644
--- a/mediagoblin/db/migrations.py
+++ b/mediagoblin/db/migrations.py
@@ -1171,7 +1171,7 @@ def datetime_to_utc(db):
at_table = inspect_table(metadata, "core__access_tokens")
for access_token in db.execute(at_table.select()):
db.execute(at_table.update().values(
- created=dt_to_utc(acess_token.created),
+ created=dt_to_utc(access_token.created),
updated=dt_to_utc(access_token.updated)
).where(at_table.c.id==access_token.id))