Skip to content

Commit

Permalink
texttracks spelling error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Cabrera committed Sep 25, 2014
1 parent d7a0af2 commit 9f581ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vimeo/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ def upload_picture(self, obj, filename, activate=False):
class UploadTexttrackMixin(object):
"""Functionality for uploading a texttrack to Vimeo for a video.
"""
TEXTRACK_ENDPOINT = '{video_uri}/texttracks'
TEXTTRACK_ENDPOINT = '{video_uri}/texttracks'

def upload_texttrack(self, video_uri, track_type, language, filename):
"""Upload a texttrack for the object.
"""
uri = self.TEXTRACK_ENDPOINT.format(video_uri=video_uri)
uri = self.TEXTTRACK_ENDPOINT.format(video_uri=video_uri)
name = filename.split('/')[-1]

texttrack = self.post(uri,
Expand Down

0 comments on commit 9f581ce

Please sign in to comment.