diff options
| author | Botond Hende <contact@wazul.moe> | 2026-04-05 12:19:18 +0200 |
|---|---|---|
| committer | Botond Hende <contact@wazul.moe> | 2026-04-05 12:19:18 +0200 |
| commit | 431f93d2863babe3362a765507945cbfe987cd05 (patch) | |
| tree | fc10fe8c1b2e2de9f9d886a7eeb3321e03bb7201 /modules/comic_generate.py | |
| parent | 5da2ab0744ad21f70b12a5ab31fe8d8889236f31 (diff) | |
Diffstat (limited to 'modules/comic_generate.py')
| -rw-r--r-- | modules/comic_generate.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/comic_generate.py b/modules/comic_generate.py index f30366e..cb12161 100644 --- a/modules/comic_generate.py +++ b/modules/comic_generate.py @@ -68,7 +68,6 @@ def generate(jinja_env: jinja2.Environment, output_root_path: str, local: bool): jinja_env.globals.update(comic={ "comic_name": Config.COMIC_NAME, - "comic_url": Config.COMIC_ROOT_URL, }) issues = get_issues(Config.ISSUE_SOURCE_DIR, local) @@ -104,6 +103,6 @@ def generate(jinja_env: jinja2.Environment, output_root_path: str, local: bool): "build_date": email.utils.format_datetime(datetime.datetime.now(Config.TIMEZONE)), "issues": issues[:5] } - with open(os.path.join(output_root_path, "feed.xml"), "w") as f: + with open(os.path.join(output_root_path, Config.RSS_FILE_NAME), "w") as f: f.write(rss_template.render(ctx)) |
