forked from github/pelican
Ruff v0.4.6 auto-fixes
This commit is contained in:
parent
800f22b3ba
commit
0bd02c00c0
5 changed files with 18 additions and 29 deletions
|
|
@ -27,7 +27,7 @@ class Writer:
|
|||
self._overridden_files = set()
|
||||
|
||||
# See Content._link_replacer for details
|
||||
if "RELATIVE_URLS" in self.settings and self.settings["RELATIVE_URLS"]:
|
||||
if self.settings.get("RELATIVE_URLS"):
|
||||
self.urljoiner = posix_join
|
||||
else:
|
||||
self.urljoiner = lambda base, url: urljoin(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue