From ff90b6f4108fa9da226f7bed1c0c95eef932feff Mon Sep 17 00:00:00 2001 From: fafoy Date: Wed, 25 Apr 2018 09:43:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E9=99=84=E6=AA=94=E5=90=8Dmp4?= =?UTF-8?q?=E7=9C=8Bline=E6=9C=83=E6=AD=A3=E5=B8=B8=E7=84=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "line\345\233\236\346\207\211/models.py" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/line\345\233\236\346\207\211/models.py" "b/line\345\233\236\346\207\211/models.py" index fe09125..f4e29af 100644 --- "a/line\345\233\236\346\207\211/models.py" +++ "b/line\345\233\236\346\207\211/models.py" @@ -51,7 +51,7 @@ def 加影片(cls, 腔口設定, 全部圖, 聲陣列, 文字陣列): for 圖 in 全部圖: 圖陣列.append(圖.檔案路徑()) 結果影片 = cls.objects.create() - 結果影片.檔案.save('result', ContentFile(b'')) + 結果影片.檔案.save('result.mp4', ContentFile(b'')) 結果影片.縮圖.save(結果影片.檔案.name + '.jpg', ContentFile(b'')) 做影片.使用者提供的資料( 腔口設定,