Skip to content

Commit

Permalink
fixing obvious error in canvas token file read and bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavransky committed Jul 21, 2020
1 parent fd6a831 commit e0b94e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cornellGrading/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name = "cornellGrading"
__version__ = '1.1.0'
__version__ = '1.1.1'
from .cornellGrading import cornellGrading
2 changes: 1 addition & 1 deletion cornellGrading/cornellGrading.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e0b94e4

Please sign in to comment.