aboutsummaryrefslogtreecommitdiff
path: root/sjdbmk/weekly.py
diff options
context:
space:
mode:
Diffstat (limited to 'sjdbmk/weekly.py')
-rw-r--r--sjdbmk/weekly.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sjdbmk/weekly.py b/sjdbmk/weekly.py
index 3006582..aef2f39 100644
--- a/sjdbmk/weekly.py
+++ b/sjdbmk/weekly.py
@@ -51,6 +51,7 @@ from . import common, twa, menu
logger = logging.getLogger(__name__)
+
def generate(
datetime_target: datetime.datetime, # expected to be local time
the_week_ahead_url: str,
@@ -91,6 +92,7 @@ def generate(
json.dump(final_data, fd, ensure_ascii=False, indent="\t")
return output_filename
+
def main() -> None:
logging.basicConfig(level=logging.INFO)
parser = argparse.ArgumentParser(description="Weekly script for the Daily Bulletin")