Skip to content

Commit f407231

Browse files
committed
Merge branch 'master' of github.com:StreetVoice/django-elastic-transcoder
2 parents 88ab478 + 6d4376a commit f407231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dj_elastictranscoder/transcoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ def create_job_for_object(self, obj):
5353
job = EncodeJob()
5454
job.id = self.message['Job']['Id']
5555
job.content_type = content_type
56-
job.object_id = obj.id
56+
job.object_id = obj.pk
5757
job.save()

0 commit comments

Comments
 (0)