mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-14 21:43:01 +00:00
Merge pull request #984 from minrk/spawner-shell
allow customization of spawn command
This commit is contained in:
@@ -27,7 +27,7 @@ def db():
|
||||
"""Get a db session"""
|
||||
global _db
|
||||
if _db is None:
|
||||
_db = orm.new_session_factory('sqlite:///:memory:', echo=True)()
|
||||
_db = orm.new_session_factory('sqlite:///:memory:')()
|
||||
user = orm.User(
|
||||
name=getuser(),
|
||||
)
|
||||
|
Reference in New Issue
Block a user