Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
fix platform url assignment
Browse files Browse the repository at this point in the history
EDUCATOR-2517
  • Loading branch information
muhammad-ammar authored and Qubad786 committed Mar 29, 2018
1 parent c51c966 commit 86da902
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions control/veda_deliver.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ def hls_run(self):
client_title=self.video_query.client_title,
duration=self.video_query.video_orig_duration,
bitrate='0',
s3_filename=self.video_query.studio_id
s3_filename=self.video_query.studio_id,
platform_course_url=self.video_query.inst_class.course_runs
)
self.encode_query = Encode.objects.get(
product_spec=self.encode_profile
Expand Down Expand Up @@ -256,8 +257,7 @@ def _INFORM_INTAKE(self):
Further information for VAL
"""
self.video_proto.veda_id = self.video_query.edx_id
self.video_proto.platform_course_url = \
[i for i in self.video_query.inst_class.local_storedir.split(',')]
self.video_proto.platform_course_url = self.video_query.inst_class.course_runs
self.video_proto.client_title = self.video_query.client_title

def _VALIDATE(self):
Expand Down

0 comments on commit 86da902

Please sign in to comment.