Removed unnecessary quotes from type annotation (#6540)

This commit is contained in:
Sigurd Spieckermann 2023-12-19 09:44:20 +01:00 committed by GitHub
parent 9956bf1dc4
commit 6a2b62b4f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ class PrivacyPlugin(BasePlugin[PrivacyConfig]):
# 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 []