mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 23:37:03 +00:00
Just removing dud whitespace
This commit is contained in:
@@ -33,4 +33,3 @@ def writeQmTable(outfile,cave):
|
|||||||
cavewriter.writerow(headers)
|
cavewriter.writerow(headers)
|
||||||
for qm in cave.get_QMs():
|
for qm in cave.get_QMs():
|
||||||
cavewriter.writerow(qmRow(qm))
|
cavewriter.writerow(qmRow(qm))
|
||||||
|
|
||||||
@@ -241,7 +241,6 @@ def Parseloghtml01(year, expedition, txt):
|
|||||||
ltriptext = re.sub(r"</?i>", "''", ltriptext)
|
ltriptext = re.sub(r"</?i>", "''", ltriptext)
|
||||||
ltriptext = re.sub(r"</?b>", "'''", ltriptext)
|
ltriptext = re.sub(r"</?b>", "'''", ltriptext)
|
||||||
|
|
||||||
|
|
||||||
#print ldate, trippeople.strip()
|
#print ldate, trippeople.strip()
|
||||||
# could includ the tripid (url link for cross referencing)
|
# could includ the tripid (url link for cross referencing)
|
||||||
EnterLogIntoDbase(date=ldate, place=tripcave, title=triptitle, text=ltriptext,
|
EnterLogIntoDbase(date=ldate, place=tripcave, title=triptitle, text=ltriptext,
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
'''
|
'''
|
||||||
This module is the part of troggle that parses descriptions of cave parts (subcaves) from the legacy html files and saves them in the troggle database as instances of the model Subcave. Unfortunately, this parser can not be very flexible because the legacy format is poorly structured.
|
This module is the part of troggle that parses descriptions of cave parts (subcaves) from the legacy html
|
||||||
|
files and saves them in the troggle database as instances of the model Subcave.
|
||||||
|
Unfortunately, this parser can not be very flexible because the legacy format is poorly structured.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import sys, os
|
import sys, os
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<div class="figure">
|
<div class="figure">
|
||||||
<p> <img src="{{ pic.thumbnail_image.url }}" class="thumbnail" />
|
<p> <img src="{{ pic.thumbnail_image.url }}" class="thumbnail" />
|
||||||
<p> {{ pic.caption }} </p>
|
<p> {{ pic.caption }} </p>
|
||||||
<p> <a href="{{ pic.get_admin_url }}">edit {{pic}}</a> </>
|
<p> <a href="{{ pic.get_admin_url }}">edit {{pic}}</a>
|
||||||
</p>
|
</p>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user