Browse Source

Typo in error messages

develop
LecygneNoir 6 years ago
parent
commit
768bbb0215
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      lib/pt_upload.py
  2. +1
    -1
      lib/yt_upload.py

+ 1
- 1
lib/pt_upload.py View File

@ -135,6 +135,6 @@ def run(options):
upload_video(oauth, secret, options)
except Exception as e:
if hasattr(e, 'message'):
print("Error: " + e.message)
print("Error: " + str(e.message))
else:
print("Error: " + str(e))

+ 1
- 1
lib/yt_upload.py View File

@ -127,7 +127,7 @@ def resumable_upload(request):
if 'id' in response:
template = ('Youtube : Video was successfully '
'uploaded.\n'
'Watch it at https://youtu.be/%s (post-encoding could get some time)')
'Watch it at https://youtu.be/%s (post-encoding could take some time)')
print(template % response['id'])
else:
template = ('Youtube : The upload failed with an '

Loading…
Cancel
Save