Skip to content

Commit

Permalink
Add support for JupyterHub 0.7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Aug 14, 2018
1 parent f5af94f commit 410f7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batchspawner/batchspawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def poll(self):
@gen.coroutine
def start(self):
"""Start the process"""
if self.server:
if jupyterhub.version_info >= (0,8) and self.server:
self.server.port = self.port

job = yield self.submit_batch_script()
Expand Down

0 comments on commit 410f7d9

Please sign in to comment.