diff --git a/cornellGrading/__init__.py b/cornellGrading/__init__.py index 7d435ac..2ef8a13 100644 --- a/cornellGrading/__init__.py +++ b/cornellGrading/__init__.py @@ -1,3 +1,3 @@ name = "cornellGrading" -__version__ = '1.1.0' +__version__ = '1.1.1' from .cornellGrading import cornellGrading diff --git a/cornellGrading/cornellGrading.py b/cornellGrading/cornellGrading.py index 1772ce2..0dae3f7 100644 --- a/cornellGrading/cornellGrading.py +++ b/cornellGrading/cornellGrading.py @@ -64,7 +64,7 @@ def __init__(self, canvasurl="https://canvas.cornell.edu", canvas_token_file=Non if canvas_token_file is None: token = getpass.getpass("Enter canvas token:\n") else: - with open("canvas_token.txt", "r") as f: + with open(canvas_token_file, "r") as f: tmp = f.read() token = tmp.strip() try: