Skip to content

Commit

Permalink
[bot] Lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
chand1012 committed Aug 19, 2021
1 parent a493370 commit 7291fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions youtube_upload/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def upload(self, file_path, options=None, chunksize=(-1)):
The parameter, `chunk_size` is the max size of the HTTP request to send the video. This parameter is in bytes, and if set to `-1`, which is the default, it
will send the video in one large request. Set this to a different value if you are having issues with the upload failing.
Will return the response from YouTube, as well as the response of the thumbnail upload as a tuple.
Will return the response from YouTube, as well as the response of the thumbnail upload as a tuple.
```Python
response, thumbnail_response = client.upload(file_path, options)
Expand Down Expand Up @@ -211,7 +211,7 @@ def _resumable_upload(self, insert_request, uploadThumbnail, options):
options.get('thumbnailLink')))
thumbnail_response = request.execute()
break

else:
# skipcq: PYL-E1120
raise HttpError(f'Unexpected response: {response}')
Expand Down

0 comments on commit 7291fde

Please sign in to comment.