Skip to content

Commit

Permalink
Removed unnecessary quotes from type annotation (#6540)
Browse files Browse the repository at this point in the history
  • Loading branch information
sisp committed Dec 19, 2023
1 parent 9956bf1 commit 6a2b62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/privacy/plugin.py
Expand Up @@ -247,7 +247,7 @@ def _parse_fragment(self, fragment: str):

# Parse and extract all external assets from a media file using a preset
# regular expression, and return all URLs found.
def _parse_media(self, initiator: File) -> "list[URL]":
def _parse_media(self, initiator: File) -> list[URL]:
_, extension = posixpath.splitext(initiator.dest_uri)
if extension not in self.assets_expr_map:
return []
Expand Down

0 comments on commit 6a2b62b

Please sign in to comment.