Skip to content

Commit

Permalink
Fixed variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
turetske committed Nov 4, 2024
1 parent 89dc65b commit 00f47f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pelicanfs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,15 +630,15 @@ async def wrapper(self, *args, **kwargs):
path = args[0]
if isinstance(path, str):
path = self._check_fspath(args[0]) # pylint: disable=protected-access
if self.directReads:
if self.direct_reads:
data_url = await self.get_origin_url(path)
else:
data_url = await self.get_working_cache(path)
else:
data_url = []
for p in path:
p = self._check_fspath(p) # pylint: disable=protected-access
if self.directReads:
if self.direct_reads:
d_url = await self.get_origin_url(p)
else:
d_url = await self.get_working_cache(p)
Expand Down

0 comments on commit 00f47f9

Please sign in to comment.