mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
fix photos link to expofiles in logbooks
This commit is contained in:
parent
c27a4f0ddc
commit
210174b901
@ -239,6 +239,9 @@ 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" 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' src="/years/{y}/expofiles/', f' src="/expofiles/')
|
||||||
|
text = text.replace(f" src='/years/{y}/expofiles/", f" src='/expofiles/")
|
||||||
|
|
||||||
text = text.replace("\t", "")
|
text = text.replace("\t", "")
|
||||||
text = text.replace("\n\n\n", "\n\n")
|
text = text.replace("\n\n\n", "\n\n")
|
||||||
return text
|
return text
|
||||||
|
Loading…
Reference in New Issue
Block a user