diff options
Diffstat (limited to 'fossee_manim/models.py')
-rw-r--r-- | fossee_manim/models.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fossee_manim/models.py b/fossee_manim/models.py index e2ff72c..273ebe6 100644 --- a/fossee_manim/models.py +++ b/fossee_manim/models.py @@ -10,7 +10,6 @@ from os import path, sep import tempfile import subprocess - position_choices = ( ("contributor", "Contributor"), ("reviewer", "Reviewer") @@ -220,7 +219,7 @@ class AnimationStats(models.Model): # some Django-specific additions django_file = File(que_file) self.thumbnail.save(file_name, django_file, save=True) - + def _create_ogv(self): video_input = self.video_path.path vid_output = path.join( @@ -233,4 +232,4 @@ class AnimationStats(models.Model): # Converting to Python file object with # some Django-specific additions django_file = File(que_file) - self.video_path.save(file_name, django_file, save=True)
\ No newline at end of file + self.video_path.save(file_name, django_file, save=True) |