From 4682fecd856cf2b1b36777da17841fb7ac92c1c6 Mon Sep 17 00:00:00 2001 From: Le Duy Thuc Date: Wed, 11 Dec 2024 01:14:23 +0000 Subject: [PATCH] pdf --- judge/models/problem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/judge/models/problem.py b/judge/models/problem.py index 7a90824ae..fef334522 100644 --- a/judge/models/problem.py +++ b/judge/models/problem.py @@ -239,7 +239,7 @@ def __init__(self, *args, **kwargs): @property def absolute_pdf_url(self): - return get_absolute_pdf_url(self.pdf_url) if self.pdf_url else None + return self.pdf_url if self.pdf_url else None @cached_property def types_list(self):