diff options
-rw-r--r-- | gemfeed.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -189,6 +189,8 @@ def main(): base_url = base_url._replace(netloc=base_url.path, path="") base_url = base_url._replace(scheme="gemini") args.base_url = urllib.parse.urlunsplit(base_url) + if not args.base_url.endswith("/"): + args.base_url += "/" # Build the feed build_feed(args.directory, args.base_url, args.output, args.n, args.title, |