Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
turetske committed Dec 3, 2024
1 parent 9f5fed9 commit 64ac021
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pelicanfs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,8 @@ def __init__(
# The internal filesystem
self.http_file_system = fshttp.HTTPFileSystem(asynchronous=asynchronous, loop=loop, **kwargs)


if federation_discovery_url and not federation_discovery_url.endswith('/'):
federation_discovery_url = federation_discovery_url + '/'
if federation_discovery_url and not federation_discovery_url.endswith("/"):
federation_discovery_url = federation_discovery_url + "/"
self.discoveryUrl = federation_discovery_url
self.directorUrl = ""

Expand Down

0 comments on commit 64ac021

Please sign in to comment.