fixed bug with loading cred yaml and added to gitignore

This commit is contained in:
dj346 2021-12-18 01:47:01 -08:00
parent b82cccc54a
commit 6f2491a0a7
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.vscode
output/
credentials.yaml

View File

@ -14,7 +14,7 @@ import yaml
try:
with open("credentials.yaml", 'r') as f:
credentials = yaml.load(f)
credentials = yaml.full_load(f)
except OSError:
# Canvas API URL
API_URL = ""