diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-07-16 13:59:16 +0200 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-07-16 13:59:16 +0200 |
commit | 0c97c11d827f7cbd1a51cd5eb49f9de401624add (patch) | |
tree | 34ece0458e19148fe3ce4e7771faa23d82c72d1d /parsers/logbooks.py | |
parent | ae6e8205a13e91bb4cd2d90cd59969482fb4c035 (diff) | |
download | troggle-0c97c11d827f7cbd1a51cd5eb49f9de401624add.tar.gz troggle-0c97c11d827f7cbd1a51cd5eb49f9de401624add.tar.bz2 troggle-0c97c11d827f7cbd1a51cd5eb49f9de401624add.zip |
tick boxes meddling
Diffstat (limited to 'parsers/logbooks.py')
-rw-r--r-- | parsers/logbooks.py | 2 |
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/") |