summaryrefslogtreecommitdiffstats
path: root/parsers/logbooks.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-07-16 13:59:16 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2025-07-16 13:59:16 +0200
commit0c97c11d827f7cbd1a51cd5eb49f9de401624add (patch)
tree34ece0458e19148fe3ce4e7771faa23d82c72d1d /parsers/logbooks.py
parentae6e8205a13e91bb4cd2d90cd59969482fb4c035 (diff)
downloadtroggle-0c97c11d827f7cbd1a51cd5eb49f9de401624add.tar.gz
troggle-0c97c11d827f7cbd1a51cd5eb49f9de401624add.tar.bz2
troggle-0c97c11d827f7cbd1a51cd5eb49f9de401624add.zip
tick boxes meddling
Diffstat (limited to 'parsers/logbooks.py')
-rw-r--r--parsers/logbooks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py
index 3ae1a11..86ff796 100644
--- a/parsers/logbooks.py
+++ b/parsers/logbooks.py
@@ -256,6 +256,8 @@ def tidy_trip_image_urls(text, date):
text = text.replace(f' src="/years/{y}//years/{y}/', f' src="/years/{y}/')
text = text.replace(f" src='/years/{y}//years/{y}/", f" src='/years/{y}/")
+ text = text.replace(f'http://expo.survex.com/expofiles', f'/expofiles')
+
text = text.replace(f' src="/years/{y}//expofiles/', f' src="/expofiles/')
text = text.replace(f" src='/years/{y}//expofiles/", f" src='/expofiles/")