From 89000bc31e990e90b9b3d046a906c35511c6f473 Mon Sep 17 00:00:00 2001 From: Leon Haag-Fank Date: Sat, 19 Oct 2024 13:33:28 +0200 Subject: [PATCH] Swapped urls in URL and description fields --- fp-ics | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fp-ics b/fp-ics index f1b4178..f66b0bb 100755 --- a/fp-ics +++ b/fp-ics @@ -18,10 +18,10 @@ def getcal(): cal = ical.Calendar() cal.add('X-WR-CALNAME', 'FP Seminare') - cal.add('X-WR-CALDESC', 'Auto generated calendar for current FP seminars on {}.'.format(URL)) + cal.add('X-WR-CALDESC', 'Auto generated calendar for current FP seminars.\nSource code: https://git.haagfank.de/LnLcFlx/fp-ics') cal.add('X-WR-TIMEZONE', TZ) cal.add('X-PUBLISHED-TTL', 'P1D') - cal.add('URL', 'https://git.haagfank.de/LnLcFlx/fp-ics') + cal.add('URL', URL) cal.add('CALSCALE', 'GREGORIAN') cal.add('METHOD', 'PUBLISH')