strip video id on saving the video

This commit is contained in:
Qubad786
2017-03-16 18:51:17 +05:00
parent 173e592203
commit 4a2589c7c3
2 changed files with 23 additions and 0 deletions

View File

@@ -497,6 +497,7 @@ class VideoDescriptor(VideoFields, VideoTranscriptsMixin, VideoStudioViewHandler
break
if metadata_was_changed_by_user:
self.edx_video_id = self.edx_video_id.strip()
manage_video_subtitles_save(
self,
user,