Skip to content

Commit 1464693

Browse files
committed
Fix TypeError in the spawner
Fix the bug introduced in PR #45
1 parent 2582fc0 commit 1464693

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jupyterhub/spawner/coursewareuserspawner/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def get_env(self):
343343
NB_UID=self.user_id,
344344
HOME=self.homedir,
345345
))
346-
if os.environ('DEBUG', 'no') in ['yes', '1']:
346+
if os.environ.get('DEBUG', 'no') in ['yes', '1']:
347347
env.update(dict(
348348
REPO_DIR=self.homedir,
349349
))

0 commit comments

Comments
 (0)