mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fix testing failures
when settings could be pathlib.Path
This commit is contained in:
parent
d817231836
commit
cfba3d72be
6 changed files with 58 additions and 39 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