Formatting

This commit is contained in:
Kumi 2023-06-19 18:21:59 +02:00
parent 1bc2568aa0
commit ff6b8ca0fc
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -207,7 +207,9 @@ with YoutubeDL(PARAMS) as ydl:
try:
percentage = int(chunk / len(video_data) * 100)
print(f"Uploading chunk {chunk} / {len(video_data)} ({percentage} %)...")
print(
f"Uploading chunk {chunk} / {len(video_data)} ({percentage} %)..."
)
chunk_upload_response = urlopen(chunk_upload_request)
chunk_upload_result = json.loads(chunk_upload_response.read())
except HTTPError as e: