Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
加附檔名mp4看line會正常無
Browse files Browse the repository at this point in the history
  • Loading branch information
sih4sing5hong5 committed Apr 25, 2018
1 parent a6ccab9 commit ff90b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion line回應/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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''))
做影片.使用者提供的資料(
腔口設定,
Expand Down

0 comments on commit ff90b6f

Please sign in to comment.