Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mishaschwartz committed Dec 9, 2024
1 parent 3601e32 commit 3b04b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magpie/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ def permission_requested(self):
for pattern_prefix in prefixes: # type: Str
if not path_parts and pattern_prefix is None:
return permission
elif pattern_prefix is not None:
if pattern_prefix is not None:
pattern_prefix = pattern_prefix.strip("/")
path_prefix = "/".join(path_parts[:pattern_prefix.count("/") + 1])
if self.is_match(path_prefix, pattern_prefix) is not None:
Expand Down

0 comments on commit 3b04b6e

Please sign in to comment.