Fix prev commit
This commit is contained in:
parent
82a6f910e3
commit
f911345984
1 changed files with 4 additions and 3 deletions
|
@ -559,6 +559,7 @@ class Problem(models.Model):
|
|||
return result
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
if self.pdf_description:
|
||||
self.pdf_description.name = problem_directory_file_helper(
|
||||
self.code, self.pdf_description.name
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue