From c0b274767b5c0ed209b9ff03679519e2d2170134 Mon Sep 17 00:00:00 2001 From: substantialnoninfringinguser Date: Thu, 2 Jul 2009 04:10:51 +0100 Subject: [svn] Add photos wiki syntaxes: e.g. [[display:centre photo:andyc.jpg]] where centre is a class applied to image, and andyc.jpg is the filename of a Photo model instance. Image will be displayed as thumbnail with link to full size image. [[photo:andyc.jpg]] will produce a link to the admin page for the andyc.jpg Photo model instance. [[photo:andyc.jpg Title of the link]] will produce a link to the admin page for the andyc.jpg Photo model instance with link text "Title of the link" --- parsers/QMs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'parsers/QMs.py') diff --git a/parsers/QMs.py b/parsers/QMs.py index 571ec28..ef38c3f 100644 --- a/parsers/QMs.py +++ b/parsers/QMs.py @@ -82,9 +82,9 @@ def parseCaveQMs(cave,inputFile): except KeyError: #check on this one continue -# except IndexError: -# print "Index error in " + str(line) -# continue + except IndexError: + print "Index error in " + str(line) + continue def parse_KH_QMs(kh, inputFile): """import QMs from the 1623-161 (Kaninchenhöhle) html pages -- cgit v1.2.3