Skip to content

Commit 1587cf1

Browse files
authored
Merge pull request #47 from shingo78/fix/type-error-in-spawner
Fix TypeError in the spawner
2 parents 2582fc0 + 1464693 commit 1587cf1

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)