Skip to content

Commit 410f7d9

Browse files
committed
Add support for JupyterHub 0.7.x
1 parent f5af94f commit 410f7d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

batchspawner/batchspawner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def poll(self):
349349
@gen.coroutine
350350
def start(self):
351351
"""Start the process"""
352-
if self.server:
352+
if jupyterhub.version_info >= (0,8) and self.server:
353353
self.server.port = self.port
354354

355355
job = yield self.submit_batch_script()

0 commit comments

Comments
 (0)