Skip to content

Commit bee19dc

Browse files
authored
Merge pull request #1315 from lzach/fetchassignment_fix
ExchangeFetchAssignment deleting the wrong config
2 parents c5d16d9 + bffbf78 commit bee19dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nbgrader/exchange/fetch_assignment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ def _load_config(self, cfg, **kwargs):
1717
"Use ExchangeFetchAssignment in config, not ExchangeFetch. Outdated config:\n%s",
1818
'\n'.join(
1919
'ExchangeFetch.{key} = {value!r}'.format(key=key, value=value)
20-
for key, value in cfg.ExchangeFetchAssignment.items()
20+
for key, value in cfg.ExchangeFetch.items()
2121
)
2222
)
2323
cfg.ExchangeFetchAssignment.merge(cfg.ExchangeFetch)
24-
del cfg.ExchangeFetchAssignment
24+
del cfg.ExchangeFetch
2525

2626
super(ExchangeFetchAssignment, self)._load_config(cfg, **kwargs)
2727

0 commit comments

Comments
 (0)