From aa0a420b76e29e78575ffb19d27904b113c1b8d5 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 19 Jan 2022 12:37:45 +0000 Subject: [PATCH] Fix metadata --- gravesong.py | 2 +- twi.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gravesong.py b/gravesong.py index 2707fc3..ffbb190 100644 --- a/gravesong.py +++ b/gravesong.py @@ -7,7 +7,7 @@ import requests @executor.executor def process(metadata, output_dir): - book = pypub.Epub("Gravesong", *metadata) + book = pypub.Epub("Gravesong", **metadata) response = requests.post( "https://wanderinginn.com/wp-pass.php", diff --git a/twi.py b/twi.py index 4336761..9547066 100644 --- a/twi.py +++ b/twi.py @@ -6,7 +6,7 @@ import requests def fetchVolume(title, metadata, volume_title, output_dir, links): - book = pypub.Epub(f"{title} - {volume_title}", *metadata) + book = pypub.Epub(f"{title} - {volume_title}", **metadata) for link in links: chapter_response = requests.get(link["href"])