diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-07-02 04:10:51 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-07-02 04:10:51 +0100 |
commit | c0b274767b5c0ed209b9ff03679519e2d2170134 (patch) | |
tree | da2093eb43641ef0d91826627707bb4c8f95b831 /parsers | |
parent | 620040bde17dfb6361c283900e5ad53efdab6a20 (diff) | |
download | troggle-c0b274767b5c0ed209b9ff03679519e2d2170134.tar.gz troggle-c0b274767b5c0ed209b9ff03679519e2d2170134.tar.bz2 troggle-c0b274767b5c0ed209b9ff03679519e2d2170134.zip |
[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"
Diffstat (limited to 'parsers')
-rw-r--r-- | parsers/QMs.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |