summaryrefslogtreecommitdiffstats
path: root/parsers
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-07-02 04:10:51 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-07-02 04:10:51 +0100
commit5baddea474b068ece9d6b93bcc90f4d76f97e5a3 (patch)
tree8d6513d80f13bc2ea278e4a925c11c1db2bdf53d /parsers
parent3e377eb32ebd1b3b4d1663655c26ab25c75afe84 (diff)
downloadtroggle-5baddea474b068ece9d6b93bcc90f4d76f97e5a3.tar.gz
troggle-5baddea474b068ece9d6b93bcc90f4d76f97e5a3.tar.bz2
troggle-5baddea474b068ece9d6b93bcc90f4d76f97e5a3.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.py6
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