From 6f2491a0a798a99547fc4fabed357eb8f4c013e3 Mon Sep 17 00:00:00 2001 From: dj346 Date: Sat, 18 Dec 2021 01:47:01 -0800 Subject: [PATCH] fixed bug with loading cred yaml and added to gitignore --- .gitignore | 3 ++- export.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e718a0f..b0e961d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .vscode -output/ \ No newline at end of file +output/ +credentials.yaml diff --git a/export.py b/export.py index 7b5f74e..a339540 100644 --- a/export.py +++ b/export.py @@ -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 = ""