sites: remove unused parse_qs import

This commit is contained in:
pax 2026-04-11 19:28:44 -05:00
parent a760b39c07
commit 925e8c1001

View File

@ -191,7 +191,7 @@ class SiteDialog(QDialog):
def _try_parse_url(self, text: str) -> None: def _try_parse_url(self, text: str) -> None:
"""Strip query params from pasted URLs like https://gelbooru.com/index.php?page=post&s=list&tags=all.""" """Strip query params from pasted URLs like https://gelbooru.com/index.php?page=post&s=list&tags=all."""
from urllib.parse import urlparse, parse_qs from urllib.parse import urlparse
text = text.strip() text = text.strip()
if "?" not in text: if "?" not in text:
return return