From 0c97c11d827f7cbd1a51cd5eb49f9de401624add Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 16 Jul 2025 13:59:16 +0200 Subject: tick boxes meddling --- parsers/logbooks.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'parsers/logbooks.py') 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/") -- cgit v1.2.3