Commit 279d595
committed
v0.6.18: fix 401 on Refresh — flush credentials before loading
- _do_refresh now writes canvas_url + canvas token from _v dict to
DATA_DIR files before calling _load_courses_from_canvas, so the
user does not need to click Save All before Refresh
- Clearer 401 error message with Canvas token regeneration instructions
- Tested end-to-end: type URL + token → Refresh → 4 courses loaded1 parent 805cf13 commit 279d595
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
1144 | 1146 | | |
1145 | 1147 | | |
1146 | 1148 | | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
1147 | 1160 | | |
1148 | 1161 | | |
1149 | 1162 | | |
| |||
0 commit comments