diff --git a/configuration.nix b/configuration.nix index f78d365..b03a587 100644 --- a/configuration.nix +++ b/configuration.nix @@ -57,7 +57,7 @@ ./system-modules/nx2site/paperless.nix ./system-modules/calendar/publish.nix ./system-modules/calendar/lec.nix - ./system-modules/calendar/lr.nix + # ./system-modules/calendar/lr.nix ./system-modules/calendar/dicos.nix ] else [ ]); environment.systemPackages = import ./system-modules/base-packages.nix pkgs; diff --git a/system-modules/calendar/lr.nix b/system-modules/calendar/lr.nix index 1644817..003a3ea 100644 --- a/system-modules/calendar/lr.nix +++ b/system-modules/calendar/lr.nix @@ -23,7 +23,8 @@ from ics import Calendar import requests def filter_events(events): - return [event for event in events if ("LR" in event.name)] + return [event for event in events if ("WT" in event.name)] + # return [event for event in events if ("LR" in event.name)] # return [event for event in events if ("LR" in event.name) or ("TBD" in event.name)] def fetch_and_save_ical_events(ical_urls, save_path): @@ -62,7 +63,7 @@ def fetch_and_save_ical_events(ical_urls, save_path): if __name__ == "__main__": # Replace with your iCal URL and target file path ICAL_URLS = [ - "https://zlypher.github.io/lol-events/cal/league-of-legends-nlc.ical", + # "https://zlypher.github.io/lol-events/cal/league-of-legends-nlc.ical", "https://zlypher.github.io/lol-events/cal/league-of-legends-emea-masters.ical" ] SAVE_PATH = "${config.services.nginx.virtualHosts."${hyper.domain}".root}/lr.ics"