Skip to content

Commit

Permalink
pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
leduythuccs committed Dec 11, 2024
1 parent 3cc0f31 commit 4682fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion judge/models/problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4682fec

Please sign in to comment.