diff --git a/tested/languages/generation.py b/tested/languages/generation.py index 0d825165..db9cea4e 100644 --- a/tested/languages/generation.py +++ b/tested/languages/generation.py @@ -189,7 +189,7 @@ def get_readable_input( def replace_link(match: Match) -> str: filename = match.group() the_file = url_map[filename] - the_url = urllib.parse.quote("media/" + the_file.url) + the_url = urllib.parse.quote(the_file.url) the_replacement = ( f'{filename}' )