diff options
author | Solderpunk <solderpunk@sdf.org> | 2020-03-18 19:01:32 +0100 |
---|---|---|
committer | Solderpunk <solderpunk@sdf.org> | 2020-03-18 19:01:32 +0100 |
commit | 9509bb9429360dab752b455032704195a2937683 (patch) | |
tree | e1cac6926609edf3440564b8c64d5988b53d259e | |
parent | d43bd2b0bf115b89c6bd99ca9b8377d740bb2442 (diff) |
Format entry links correctly when --directory is used.
-rw-r--r-- | gemfeed.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ def populate_entry_from_file(filename, base_url, entry): FeedGenerator entry object according the contents of the named Gemini file and the base URL. """ - url = urljoin(base_url, filename) + url = urljoin(base_url, os.path.basename(filename)) entry.guid(url) entry.link(href=url, rel="alternate") updated = os.path.getctime(filename) |