Skip to content

Commit

Permalink
Fix lines past 80 chars.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen McMillen committed Nov 13, 2014
1 parent 7b091a7 commit 03067c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vimeo/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class UploadVideoMixin(object):
def upload(self, filename, upgrade_to_1080=False):
"""Upload the named file to Vimeo."""
ticket = self.post(self.UPLOAD_ENDPOINT,
data={'type': 'streaming',
'upgrade_to_1080': 'true' if upgrade_to_1080 else 'false'})
data={'type': 'streaming',
'upgrade_to_1080': 'true' if upgrade_to_1080 else 'false'})

return self._perform_upload(filename, ticket)

Expand All @@ -24,8 +24,8 @@ def replace(self, video_uri, filename, upgrade_to_1080=False):
uri = self.REPLACE_ENDPOINT.format(video_uri=video_uri)

ticket = self.put(uri,
data={'type': 'streaming',
'upgrade_to_1080': 'true' if upgrade_to_1080 else 'false'})
data={'type': 'streaming',
'upgrade_to_1080': 'true' if upgrade_to_1080 else 'false'})

return self._perform_upload(filename, ticket)

Expand Down

0 comments on commit 03067c3

Please sign in to comment.