From 67881d9d6315d91b81698f0abf9972ad88f22520 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Tue, 13 Jul 2021 11:07:56 +0200 Subject: [PATCH] Load from env var here too --- event_feed_config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/event_feed_config.py b/event_feed_config.py index ba5c072..6676161 100644 --- a/event_feed_config.py +++ b/event_feed_config.py @@ -1,6 +1,8 @@ +import os + # a publicly accessible ICS calendar -calendar_url= '' +calendar_url = os.environ.get('CALENDAR_URL', '') # your Hugo content directory -output_dir = '' +output_dir = os.environ.get('OUTPUT_DIR', '')