Commit ef3c9884 authored by Matthieu Boileau's avatar Matthieu Boileau

Fix error due to pathlib

parent d9e0df36
Pipeline #6835 passed with stage
in 28 seconds
......@@ -1049,7 +1049,8 @@ class Website:
article = self.Article(spip_article, spip_type, self)
self.articles.append(article)
if not article.skip_reason:
self.article_index[article.id] = article.path
self.article_index[article.id] = \
article.path.as_posix()
add_articles(self.articles_filename, 'article')
add_articles(self.rubriques_filename, 'rubrique')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment