2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 05:55:06 +00:00

[svn] * Make subcave urls work.

* Add json and xml download to admin.
This commit is contained in:
substantialnoninfringinguser
2009-05-22 01:50:16 +01:00
parent 83634fe95a
commit c38dfd20a1
7 changed files with 78 additions and 8 deletions

View File

@@ -37,7 +37,13 @@ def import_people():
parsers.people.LoadPersonsExpos()
def import_logbooks():
settings.LOGFILE.write('\nBegun importing logbooks at ' + time.asctime() +'\n'+'-'*60)
# The below line was causing errors I didn't understand (it said LOGFILE was a string), and I couldn't be bothered to figure
# what was going on so I just catch the error with a try. - AC 21 May
try:
settings.LOGFILE.write('\nBegun importing logbooks at ' + time.asctime() +'\n'+'-'*60)
except:
pass
import parsers.logbooks
parsers.logbooks.LoadLogbooks()