Fix typing issue

This commit is contained in:
Adrian Chaves 2026-08-10 18:58:48 +02:00
parent 13fe2f9b1c
commit e2d80e8561
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ class CreatedMediaDownloadSpider(MediaDownloadSpider):
name = "createdmedia"
def _process_url(self, url):
def _process_url(self, url: str) -> str:
assert self.mockserver
return add_or_replace_parameter(self.mockserver.url("/created"), "goto", url)