Update upload/youtube.py

Co-authored-by: Simon <65854503+OpenSourceSimon@users.noreply.github.com>
pull/1568/head
Muhammad Naeem Tariq 2 years ago committed by GitHub
parent cb0b07b223
commit 51b90d9f72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -233,7 +233,7 @@ format_data = "%Y-%m-%d %H:%M:%S"
def init(): def init():
if not(os.path.exists(CLIENT_SECRETS_FILE)): if not(os.path.exists(CLIENT_SECRETS_FILE)):
print("video not automatically uploaded on youtube, please add youtube configuration in toml file if you want to upload videos automatically") print("Video isn't automatically uploaded to YouTube. Add your YouTube credentials to the config if you'd like to let it upload videos automatically")
return return
# opens the json containing video_creation data (used for logic and upload data) # opens the json containing video_creation data (used for logic and upload data)
f = open(videos_json_file) f = open(videos_json_file)

Loading…
Cancel
Save