store youtube credentials in a file to avoid asking creds for each uploads

This commit is contained in:
LecygneNoir 2018-03-02 19:03:32 +01:00
parent 3e0865ad43
commit 33687a1a90
3 changed files with 22 additions and 3 deletions

View file

@ -54,7 +54,6 @@ if __name__ == '__main__':
import pt_upload
options = docopt(__doc__, version=VERSION)
print options
schema = Schema({
'--file': And(str, lambda s: validateVideo(s), error='file is not supported, please use mp4'),