From 2e0b0605a24c7f7fcc77e103993d106d3164f457 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 31 May 2008 11:17:21 +0200 Subject: [PATCH] spelling --- dev.cfg | 2 +- oxdbarchive/model.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dev.cfg b/dev.cfg index b187ed4..30446d5 100644 --- a/dev.cfg +++ b/dev.cfg @@ -5,7 +5,7 @@ # oxdbarchive/config/app.cfg # DATABASE -sqlobject.dburi="notrans_mysql://root@localhost/oxdbarchive?sqlobject_encoding=utf-8&use_unicode=1&charset=utf8" +sqlobject.dburi="notrans_mysql://root@localhost/oxdbarchive?use_unicode=1&charset=utf8" # SERVER server.socket_port=8081 diff --git a/oxdbarchive/model.py b/oxdbarchive/model.py index 607f34d..46a7977 100644 --- a/oxdbarchive/model.py +++ b/oxdbarchive/model.py @@ -40,8 +40,8 @@ class Archive(SQLObject): name = UnicodeCol(length=255, alternateID=True) basePath = UnicodeCol() baseUrlFrontend = UnicodeCol(default = '') - published = DateTimeCol(defalut=datetime.now) - modified = DateTimeCol(defalut=datetime.now) + published = DateTimeCol(default=datetime.now) + modified = DateTimeCol(default=datetime.now) def _get_basePath(self): basePath = self._SO_get_basePath() @@ -243,8 +243,8 @@ class ArchiveFile(SQLObject): pixels = IntCol(default = 0) date_added = DateTimeCol(default=datetime.now) - published = DateTimeCol(defalut=datetime.now) - modified = DateTimeCol(defalut=datetime.now) + published = DateTimeCol(default=datetime.now) + modified = DateTimeCol(default=datetime.now) height = IntCol(default = -1) width = IntCol(default = -1)