mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-01-31 07:22:32 +00:00
[svn] minor logfile mistake
This commit is contained in:
parent
e336e9c770
commit
83634fe95a
@ -8,7 +8,7 @@ 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()
|
||||
@ -37,7 +37,7 @@ def import_people():
|
||||
parsers.people.LoadPersonsExpos()
|
||||
|
||||
def import_logbooks():
|
||||
logfile.write('\nBegun importing logbooks at ' + time.asctime() +'\n'+'-'*60)
|
||||
settings.LOGFILE.write('\nBegun importing logbooks at ' + time.asctime() +'\n'+'-'*60)
|
||||
import parsers.logbooks
|
||||
parsers.logbooks.LoadLogbooks()
|
||||
|
||||
|
@ -136,7 +136,7 @@ def html_to_wiki(text):
|
||||
text2 = ""
|
||||
return out
|
||||
|
||||
def LoadCaveTab(logfile=None):
|
||||
def LoadCaveTab(logfile=settings.LOGFILE):
|
||||
cavetab = open(os.path.join(settings.EXPOWEB, "noinfo", "CAVETAB2.CSV"),'rU')
|
||||
caveReader = csv.reader(cavetab)
|
||||
caveReader.next() # Strip out column headers
|
||||
|
Loading…
Reference in New Issue
Block a user