Skip to content

Commit b162b8c

Browse files
authored
Merge pull request #50 from shingo78/fix/cannot-spawn-for-new-users
Fix cannot spawn a server for new users
2 parents d7951ec + 5ecd0b3 commit b162b8c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

jupyterhub/spawner/coursewareuserspawner/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,8 @@ def load_state(self, state):
441441
super().load_state(state)
442442
if 'user_id' in state:
443443
self.user_id = state['user_id']
444+
else:
445+
self.user_id = self.get_user_id(self)
444446

445447
def get_state(self):
446448
state = super().get_state()

0 commit comments

Comments
 (0)