[svn] fix minor logfile error

This commit is contained in:
substantialnoninfringinguser 2009-05-21 20:24:21 +01:00
parent 3d8a6fb55a
commit 3ac1169aa7

View File

@ -8,6 +8,8 @@ from django.db import connection
from django.contrib.auth.models import User
from django.http import HttpResponse
logfile=settings.LOGFILE
def reload_db():
cursor = connection.cursor()
cursor.execute("drop database %s" % settings.DATABASE_NAME)
@ -35,7 +37,7 @@ def import_people():
parsers.people.LoadPersonsExpos()
def import_logbooks():
settings.LOGFILE.write('\nBegun importing logbooks at ' + time.asctime() +'\n'+'-'*60)
logfile.write('\nBegun importing logbooks at ' + time.asctime() +'\n'+'-'*60)
import parsers.logbooks
parsers.logbooks.LoadLogbooks()