mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #2758 from MinchinWeb/settings-pathlib-2
This commit is contained in:
commit
e14f20bb99
6 changed files with 75 additions and 44 deletions
|
|
@ -29,7 +29,7 @@ class Writer:
|
|||
self.urljoiner = posix_join
|
||||
else:
|
||||
self.urljoiner = lambda base, url: urljoin(
|
||||
base if base.endswith('/') else base + '/', url)
|
||||
base if base.endswith('/') else base + '/', str(url))
|
||||
|
||||
def _create_new_feed(self, feed_type, feed_title, context):
|
||||
feed_class = Rss201rev2Feed if feed_type == 'rss' else Atom1Feed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue