This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
wdjpng
/
prismedia
forked from
LecygneNoir/prismedia
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Typo in error messages
master
LecygneNoir
6 years ago
parent
1975704954
commit
768bbb0215
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/pt_upload.py
+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
'
Write
Preview
Loading…
Cancel
Save