diff options
author | Sharanya A | 2019-08-01 17:42:43 +0530 |
---|---|---|
committer | GitHub | 2019-08-01 17:42:43 +0530 |
commit | b8f44f7b51d84822db9b9d9e0a1f2b0620cdd4aa (patch) | |
tree | 69d1b16d9aa73e48a4f1ebe57c556ab4cd9cf35e /fossee_manim/models.py | |
parent | d37f7d98ec1512d0f1fc189e3776c3ac4ee590f6 (diff) | |
parent | 8454d545a5e61fc342d89b64cad0adab4dbc4f30 (diff) | |
download | FOSSEE_animations-b8f44f7b51d84822db9b9d9e0a1f2b0620cdd4aa.tar.gz FOSSEE_animations-b8f44f7b51d84822db9b9d9e0a1f2b0620cdd4aa.tar.bz2 FOSSEE_animations-b8f44f7b51d84822db9b9d9e0a1f2b0620cdd4aa.zip |
Merge pull request #35 from Sh-Ac/html-changes
Html changes (mostly) with a few design changes
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) |